Visualise a Markdown/Rich Text document as an interactive node diagram. You can view the live version at https://md-viz.netlify.app/
As shown in the image above, the Headings from the text editor component on the left directly map to nodes in the diagram on the right. Links between nodes are created such that headings will automatically link to lower level headings that appear below them. This is essentially the same tree structure as seen in table of contents sections for documents.
Examine the text content of each node on hover.
Switch between different structures of visualisation.
Network - Nodes can move freely, according to the link forces, manybody forces, and force towards the center of the graph area.
Tree - Nodes are affected by similar forces to the network type, but they are drawn to a y-value corresponding to the depth/level of each node.
Radial - Similar to the tree structure, however nodes are instead drawn to a radius from the center depending on their depth/level. This can be useful when the branching factor is large.
First clone the github repository
git clone https://github.com/jw176/md-viz.git
Navigate to the project
cd md-viz
Install the required node dependencies. If node is not installed you can donwload and install it here
npm install
Run the development server
npm run dev
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Jack Whelan
You can find me on LinkedIn
This project is licensed under the MIT License.