Today I added Knotend-like keyboard shortcuts to m...
# devlog-together
n
Today I added Knotend-like keyboard shortcuts to my Graph editor app: https://codeberg.org/nilesh/grapher Because this editor supports compound graphs where, besides adjacency edges, nodes can also be nested using at most 1 parent per node, I needed 4 separate actions on graphs for the currently selected node: • Add a destination node (using the
Tab
key) • Add a source node (using
Shift+Tab
) • Add a child node (using
~
) • Add a parent node (using
Ctrl+~
) I haven't yet added keyboard shortcuts for adding "sibling" nodes. Also felt sad that we don't have standardized UI components with keyboard shortcuts for manipulating trees, DAGs, plain graphs, compound graphs or hypergraphs.
t
oh very cool. did you see https://futureofcoding.slack.com/archives/CGMJ7323Z/p1742762937750189 (OCWG in particular)
n
@Tom Larkworthy Thanks for sharing that. I remember the original discussion on Twitter but good to see the progress on OCIF file format standard. @Maikel A while ago, I added the ability to export from Grapher to Obsidian's JSON canvas format:
m
Cool! I am going to look into it! Thanks for sharing!