Expand description

Exports graphs into the DOT language for use with visualizers like Graphviz.

Here’s an example graph:

graph {
    0 [ label = "8" ]
    1 [ label = "3" ]
    2 [ label = "4" ]
    3 [ label = "5" ]
    4 [ label = "1" ]
    5 [ label = "7" ]
    6 [ label = "6" ]
    7 [ label = "2" ]
    4 -- 7 [ ]
    7 -- 1 [ ]
    1 -- 2 [ ]
    2 -- 4 [ ]
    3 -- 6 [ ]
    6 -- 5 [ ]
    5 -- 0 [ ]
    0 -- 3 [ ]
    4 -- 3 [ ]
    7 -- 6 [ ]
    1 -- 5 [ ]
    2 -- 0 [ ]
}

Enums

Errors that can be returned by the functions in this module.

Functions

Convert a ForceGraph to the DOT