# Graphvidian - Obsidian plugin integrating Graphviz

**URL:** <https://forum.graphviz.org/t/graphvidian-obsidian-plugin-integrating-graphviz/1051>\
**Category:** Show and Tell\
**Created:** [February 18, 2022, 5:10pm UTC](https://forum.graphviz.org/t/graphvidian-obsidian-plugin-integrating-graphviz/1051 "2022-02-18T17:10:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ooker](https://sea2.discourse-cdn.com/graphviz/user_avatar/forum.graphviz.org/ooker/32/385_2.png) [@Ooker](https://forum.graphviz.org/u/Ooker)\
**Post date:** [February 18, 2022, 5:10pm UTC](https://forum.graphviz.org/t/graphvidian-obsidian-plugin-integrating-graphviz/1051/1 "2022-02-18T17:10:11Z")

</div>

I wish I can make a graph with [Obsidian](https://obsidian.md/) because Graphviz alone (even with VSCode) doesn’t have:

- Linking suggestion
- Auto update links
- A place to provide more details of a node

As a result, I made myself an Obsidian plugin to convert the database from one of its plugin, Breacrumbs, to .dot format.

# Demo

Master graph:

 ![](https://global.discourse-cdn.com/graphviz/original/1X/3758f8aef5b08f120e99be63c33734d139eaca82.png)

A cluster of the master graph:

 ![](https://global.discourse-cdn.com/graphviz/original/1X/521242049f097a43ecfd7d9d988b65d80df39e51.png)

# Features

- Auto-wrap node labels to prevent text overflowing

- Detect different node type whether by it being the end node of a particular edge type, or by the index at the beginning of its title

- Support default node and edge styles

- Support subgraphs, and styling for each subgraph

- Support same rank for each subgraph

- Support cluster for each subgraph

- Support pairing nodes (nodes that should be a cluster by themselves)

- Generate a master graph and individual graphs of each cluster (ideal for large graph)

- Support running multiple commands (useful if you want to generate different layouts to know which one looks nicest, use unflatten to [distribute nodes on the same rank of a wide graph to different lines](https://stackoverflow.com/a/11136488/3416774), or overlay legend or watermark)

# [👉 Download](https://github.com/ooker777/Graphvidian)

---

<div class="post-metadata">

**Author:** ![mark](https://sea2.discourse-cdn.com/graphviz/user_avatar/forum.graphviz.org/mark/32/84_2.png) [@mark](https://forum.graphviz.org/u/mark)\
**Post date:** [February 19, 2022, 12:34am UTC](https://forum.graphviz.org/t/graphvidian-obsidian-plugin-integrating-graphviz/1051/2 "2022-02-19T00:34:12Z")

</div>

Very cool. I use Obsidian myself and have been sometimes frustrated with their force-directed graphs. The picture you show above looks like an improvement, I’m kinda surprised that Graphviz’s output is so nice for this example tbh!

---

<div class="post-metadata">

**Author:** ![Ooker](https://sea2.discourse-cdn.com/graphviz/user_avatar/forum.graphviz.org/ooker/32/385_2.png) [@Ooker](https://forum.graphviz.org/u/Ooker)\
**Post date:** [February 19, 2022, 8:44am UTC](https://forum.graphviz.org/t/graphvidian-obsidian-plugin-integrating-graphviz/1051/3 "2022-02-19T08:44:51Z")

</div>

I use unflatten, but the master graph is still too wide. It seems like it can only work with nodes, but not subgraphs or clusters?
