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.

Export Dialog

Arrows Drawing

pages/import-arrows-graphs

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

//wiki.ralfbarkow.ch/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.caption,n.properties)

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])