notes graph [8e65ce1b]
Tags: episteme
- observablehq.com/@mbostock/hello-cola
- observablehq.com/@d3/force-directed-graph
- stackoverflow.com/questions/20575026/how-to-make-labels-and-nodes-in-d3-forced-layout-clickable-to-navigate-to-a-url
- dendron: wiki.dendron.so/
1. Notes
1. Notes
- DB Structure org-roam.discourse.group/t/thoughts-on-db-structure/63
- link can be constructed with the last chunk of the 'titles' table, filename == slug
-
to from type in linksgives you the type
1.1. building json
1.1. building json
- grab all the links
- for each link get the type
- for each link resolve the to/from, swap out with the titles
-
for specialized things with the root, color these differently
-
iterate through json, generate a nodes and a list
- for each node, add the # of links -> color based on links?
2. syllabus galaxy
2. syllabus galaxy
3. webgl visualization
3. webgl visualization
- needs a click event, can be found in github.com/kdutia/d3fc/commit/f683cf3f7e70f3fc88869489a4ddf0a1b135efde#diff-a583ec383953418a7580d4415f51a29caf25c0410ef42aca8ac975a040bc537c
- github.com/ColinEberhardt/d3fc-webgl-hathi-explorer/blob/master/index.js#L152
- github.com/d3fc/d3fc/blob/master/examples/annotation-svg-line/index.js
- turns out the tsne projection is not very good, we might want to do a force projection with networkx.org/documentation/stable/reference/generated/networkx.drawing.layout.spring_layout.html
4. projection ideas:
4. projection ideas:
- generate multidimensional graph from github.com/snap-stanford/snap/tree/master/examples/node2vec
- possibly the embedding projector? projector.tensorflow.org/?config=https://raw.githubusercontent.com/duarteocarmo/esco-visualizations/master/projector_config.json