Skip to content

haved/dot-tree-viz

Repository files navigation

DotTreeViz

A simple web app for rendering multiple GraphViz graphs at once. The graph elements can also contain custom attributes, which will be listed when clicked.

Open the Web app!

The input format is either plain one or more plain dot graphs, or a json based format that looks like:

{
  "graph0": {
    "label": "My graph",
    "nodes": {
      "node0": {
        "type": "inout",
        "label": "Node with subgraph",
        "subgraphs": ["graph1"]
      }
    },
    "results": {
      "res0": {
        "label": "Result"
      }
    },
    "edges": {
      "edge0": {
        "from": "node0",
        "to": "res0",
        "dir": "forward"
      }
    }
  },
  "graph1": {
    "nodes": {
      "node1": {
        "label": "Hey",
        "obj": "0x55d5ec278050"
      }
    }
  }
}

Dependencies

To install all dependencies, use

npm install

Developing

Start a development server and open the app in your browser using:

npm run dev -- --open

Building

Create a production version using:

npm run build

You can preview the production build with npm run preview.

About

Simple web app for rendering GraphViz graphs with extra attributes, and references between elements of different graphs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors