dot
api to build dot documents for graphviz
Example
const dot = ; const helloNode = dot;const worldNode = dot;const edge = dot;const graph = dot ; console;
will output
digraph "2" {
0 [label = "hello"];
1 [label = "world"];
"0" -> "1" [];
}
The goal of this api is to ease the construction of large dot files.