--- | |
source: crates/graphmap/tests/test_serde.rs | |
expression: graph | |
--- | |
{ | |
"nodes": [ | |
{ | |
"x": 0, | |
"y": 0 | |
}, | |
{ | |
"x": 1, | |
"y": 1 | |
}, | |
{ | |
"x": 2, | |
"y": 2 | |
}, | |
{ | |
"x": 2, | |
"y": 1 | |
} | |
], | |
"node_holes": [], | |
"edge_property": "directed", | |
"edges": [ | |
[ | |
0, | |
1, | |
1 | |
], | |
[ | |
1, | |
2, | |
2 | |
], | |
[ | |
2, | |
0, | |
3 | |
] | |
] | |
} |