The DiGraph to be rendered
Name of the graph, when shown in viewer
Graph orientation, default is LR (left to right), most common alternative is TB (top to bottom)
This finds a loop in a DiGraph if one exists and returns nodes
This finds a loop in a DiGraph if one exists and returns nodes
there is no way to currently to specify a particular loop
override this to change the default way a node is displayed.
override this to change the default way a node is displayed. Default is toString surrounded by double quotes
val rend = new RenderDiGraph(graph, "alice") { override def renderNode(node: Symbol): String = s"\"${symbol.name}\"" }
Searches a DiGraph for a cycle.
Searches a DiGraph for a cycle. The first one found will be rendered as a graph that contains only the nodes in the cycle plus the neighbors of those nodes.
a string that can be used as input to the dot command, string is empty if no loop
Convert this graph into input for the graphviz dot program
Convert this graph into input for the graphviz dot program
A string representation of the digraph in dot notation
Convert this graph into input for the graphviz dot program.
Convert this graph into input for the graphviz dot program. It tries to align nodes in columns based on their minimum distance to a source. Can also be faster and better behaved on large graphs
string that is a graphviz digraph
Convert this graph into input for the graphviz dot program, but with a loop,if present, highlighted in red.
Convert this graph into input for the graphviz dot program, but with a loop,if present, highlighted in red.
string that is a graphviz digraph, but with loops highlighted
Implement a really simple graphviz dot renderer for a digraph There are three main renderers currently -
The type of the Node.