exemd-dot

0.3.0 • Public • Published

exemd-dot NPM version

Install globally with npm:

npm i -g exemd-dot

What is it

Plugin for exemd to generate graphs in markdown files.

Short help

dot is a language for "hierarchical" or layered drawings of directed graphs. It is part of the graphviz package.

To invoke this plugin, you can define code blocks such as:

```{dot ! }
digraph {
        a -> b[label="0.2",weight="0.2"];
        a -> c[label="0.4",weight="0.4"];
        c -> b[label="0.6",weight="0.6"];
        c -> e[label="0.6",weight="0.6"];
        e -> e[label="0.1",weight="0.1"];
        e -> b[label="0.7",weight="0.7"];
    }
```

That is converted to this picture:

Author

  • Vittorio Zaccaria

License

Copyright (c) 2015 Vittorio Zaccaria
Released under the license


This file was generated by verb-cli on March 19, 2015.

Readme

Keywords

none

Package Sidebar

Install

npm i exemd-dot

Weekly Downloads

45

Version

0.3.0

License

BSD

Last publish

Collaborators

  • vzaccaria