Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 852 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 852 Bytes

Visual Studio Marketplace

Adds GraphViz support to VS Code's builtin markdown preview

Usage

Create diagrams in markdown using graphviz code blocks:

```graphviz
digraph finite_state_machine {
    rankdir=LR;
    size="8,5"

    node [shape = doublecircle]; S;
    node [shape = point ]; qi

    node [shape = circle];
    qi -> S;
    S  -> q1 [ label = "a" ];
    S  -> S  [ label = "a" ];
    q1 -> S  [ label = "a" ];
    q1 -> q2 [ label = "ddb" ];
    q2 -> q1 [ label = "b" ];
    q2 -> q2 [ label = "b" ];
}
```