A graph layout web application
After a git checkout, run the following to serve the application locally:
npm i
npm run serve
- Click "UPLOAD CSV OR JSON" to upload a file of the form:
source,target
a,b
b,c
c,d
d,a
for CSV and
{
"nodes": [
{ "id": "a" },
{ "id": "b" },
{ "id": "c" },
{ "id": "d" }
],
"edges": [
{
"source": "a",
"target": "b"
},
{
"source": "b",
"target": "c"
},
{
"source": "c",
"target": "d"
},
{
"source": "d",
"target": "a"
}
]
}
for JSON
- Click "Start Layout".
- Play with the controls!