Auto: misc.

This commit is contained in:
2021-04-08 21:35:22 +02:00
parent 870401f439
commit ae7eb24bcb
3 changed files with 37 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# force graph
- [[go]] https://github.com/vasturiano/force-graph
- I think it makes sense. Seems reasonable fast at the high-thousand-nodes level; the agora is currently at 10k. And most of the visualizations I want to do are actually node-scoped plus links, so really just an issue for hugely outlier nodes degree wise (like [[person]] or [[go]]).
- Unfortunately it doesn't seem to provide labels for edges?
- False, it does: https://vasturiano.github.io/force-graph/example/text-links/
- Data format, JSON:
```
{
"nodes": [
{
"id": "id1",
"name": "name1",
"val": 1
},
{
"id": "id2",
"name": "name2",
"val": 10
},
(...)
],
"links": [
{
"source": "id1",
"target": "id2"
},
(...)
]
}
```