# Github code for modeling a graph using "Arrows" (D3 library)

**URL:** <https://discuss.dgraph.io/t/github-code-for-modeling-a-graph-using-arrows-d3-library/4628>\
**Category:** Dgraph\
**Created:** [June 17, 2019, 8:29pm UTC](https://discuss.dgraph.io/t/github-code-for-modeling-a-graph-using-arrows-d3-library/4628 "2019-06-17T20:29:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francois](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/francois/32/1855_2.png) [@Francois](https://discuss.dgraph.io/u/Francois)\
**Post date:** [June 17, 2019, 8:29pm UTC](https://discuss.dgraph.io/t/github-code-for-modeling-a-graph-using-arrows-d3-library/4628/1 "2019-06-17T20:29:47Z")

</div>

Hello

In a closed discussion, there was a mention to a JavaScript library for drawing diagrams of small graphs, using D3 to generate SVG. Useful for explaining “Neo4j” graph modelling concepts in presentations and blogs. [http://www.apcjones.com/arrows/](http://www.apcjones.com/arrows/)

> [@Quickly create example graph data for "dgraph" using Arrows](http://discuss.hypermode.com/t/quickly-create-example-graph-data-for-dgraph-using-arrows/1798):
>
> See the example bellow. I had no interest in Graph databases. Now that I met the Dgraph, I began to pay more attention. Already had a notion of Neo4J, but I found a bit bureaucratic in the beginning and did not have mind to devote time to this. Today I’m interested in Dgraph. Below is a video I found of a blogger. It exports to Cypher. My question is, could you by a Graph builder like this natively in the Dgraph project? Like that Arrow Graph builder? It seems simple at first. [[Quic…](https://www.youtube.com/watch?v=fkD1agLtQ4I)

They released a piece of code on github [https://github.com/apcj/arrows](https://github.com/apcj/arrows)

And the demo is still available (but can’t post more than 2 links to start)

To let noobs explore concepts it could helps many people outside 🙂
