json-graph-format is a json format created in 2014.
#933on PLDB | 10Years Old |
git clone https://github.com/jsongraph/json-graph-specification
A proposal for representing graph structure (nodes / edges) in JSON.
{
"graph": {
"directed": false,
"type": "graph type",
"label": "graph label",
"metadata": {
"user-defined": "values"
},
"nodes": [
{
"id": "0",
"type": "node type",
"label": "node label(0)",
"metadata": {
"user-defined": "values"
}
},
{
"id": "1",
"type": "node type",
"label": "node label(1)",
"metadata": {
"user-defined": "values"
}
}
],
"edges": [
{
"source": "0",
"relation": "edge relationship",
"target": "1",
"directed": false,
"label": "edge label",
"metadata": {
"user-defined": "values"
}
}
]
}
}