A 3D Graph for Obsidian with dozen of features!
see the demo: https://www.youtube.com/watch?v=w1H-pcM8nOU
You can install this on community plugin store π
.obsidian/plugins
cd obsidian-3d-graph && bun install && bun run build
Use ribbon button or command to open the global graph.
You can do zooming (scroll you wheel), rotating (drag the scene) and panning (ctrl
/cmd
and drag the scene) in the graph.
β οΈ The underly 3D graph has Performance issue that I don't know how to fix. You can set the max node number limit on the plugin setting. If the total node number on the graph beyond the limit, the graph will not be rendered to protect your computer from hanging.
In a note, you can run command Open local 3D graph
to open a local graph. A local graph will only show nodes that connect to this nodes.
In local graph you will have all the features of global graph, plus:
β¨ Tips: I set the
cmd + L
to open local 3D graph.
you can use query to create groups and color nodes on a global graph.
When you are closer to the node, the label will appear. When you move away from the node, the node will fade away.
You can change the following:
3d-graph
code block post processor (working in progress)[!CAUTION] The
3d-graph
code block post processor is still in working progress. It is definitely not stable yet, use it in your own risk.
hold Ctrl
/cmd
and click on a node will fly and focus on a node. It is the perfect way to navigate on large graph.
You can search and focus on a node in the graph
hold shift
and click on nodes to select multiple nodes. Then right click on one of the selected nodes to open commands. You can run batched commands on the selected nodes.
You can see DAG(Directed acyclic graph) orientation on a graph. This only has effect when the graph is acyclic.
You can save, update and restore previous settings.
You can change the style of the graphview by css snippet.
body {
/* change the default node color */
--graph-node: #00ff00;
/* change the default link color */
--graph-line: #ff0000;
}
.graph-3d-view canvas {
/* change the background color */
background: white;
}
.graph-3d-view .node-label {
/* change the default node label color */
color: #00ff00;
}
some other uncertain features are will sit in the github issues but I work on them base on ICE (Impact, confidence, effort)
.obsidian/plugins
cd obsidian-3d-graph && bun install && bun run dev
for release, just run bun release
to release patch. You can also add --minor
or --major
to change update version.
If you are enjoying this plugin then please support my work and enthusiasm by sponsoring me on Github or buying me a coffee on https://www.buymeacoffee.com/yomaru.
Just want to say thanks to those people. Without them, this repo will not be here.