Skip to content

Commit

Permalink
Add simple model example
Browse files Browse the repository at this point in the history
  • Loading branch information
brollb committed Mar 30, 2021
1 parent 8f120be commit eeec056
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions examples/nodes_edges.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"attributes": {
"name": "Example Graph"
},
"children": [
{
"id": "@id:A",
"attributes": {
"name": "A"
},
"pointers": {
"base": "@meta:Node"
}
},
{
"id": "@id:B",
"attributes": {
"name": "B"
},
"pointers": {
"base": "@meta:Node"
}
},
{
"id": "@id:C",
"attributes": {
"name": "C"
},
"pointers": {
"base": "@meta:Node"
}
},
{
"attributes": {
"name": "Edge from A-B"
},
"pointers": {
"src": "@id:A",
"dst": "@id:B",
"base": "@meta:Edge"
}
},
{
"attributes": {
"name": "Edge from B-C"
},
"pointers": {
"src": "@id:B",
"dst": "@id:C",
"base": "@meta:Edge"
}
}
]
}

0 comments on commit eeec056

Please sign in to comment.