Import Arrows Graphs

Arrows is a drawing tool that will create property graphs that can be downloaded in a variety of formats. Draw nodes with captions and properties. Draw relations with type. Export JSON as copy-paste or download file.

Arrows Drawing

Export Dialog

pages/import-arrows-graphs

Copy the Family example above or create your own Arrows diagram and copy its export here. site

http://hsc.fed.wiki/assets/scripts/import-foreign-json.html HEIGHT 240

For each node n, we create a graph node and remember the id we are assigned corresponding to the id in n.

for (const n of json.nodes) nids[n.id] = graph.addNode(n.labels[0],{name:n.caption})

For each relationship r, we create a graph rel connecting the remembered from and to ids.

for (const r of json.relationships) graph.addRel(r.type,nids[r.fromId],nids[r.toId])