dot

package dot
Dot rendering library

Concerns

  • dot: Dot rendering library
    • dot: Dot rendering library

dot::dot

module dot

Dot rendering library

Example:

import dot

var graph = new DotGraph("G", "digraph")

var hello = graph.add_node("hello")
var world = graph.add_node("world")

graph.add_edge(hello, world)

print graph.to_dot
Introduces
  • DotElement: Something that can be rendered in dot format.
  • DotGraph: A Graph representation suited for dot format.
  • DotNode: A dot node
  • DotEdge: A dot edge that links two nodes
  • AttributeMap: Map of graph/node/edge attribute that can be rendered to dot.