class Digraph extends GraphVizDotML
Directed graph source code in the DOT language.
- Alphabetic
- By Inheritance
- Digraph
- GraphVizDotML
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Digraph(name: String = null, comment: String = null, strict: Boolean = false, graphAttr: Map[String, String] = mutable.Map[String, String](), nodeAttr: Map[String, String] = mutable.Map[String, String](), edgeAttr: Map[String, String] = mutable.Map[String, String](), body: ArrayBuffer[String] = ArrayBuffer[String]())
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val HTML_STRING: Regex
- Attributes
- protected
- Definition Classes
- GraphVizDotML
- val _comment: String
- Attributes
- protected
- Definition Classes
- GraphVizDotML
- def _edge: String
- Definition Classes
- Digraph → GraphVizDotML
- def _edgePlain: String
- Definition Classes
- Digraph → GraphVizDotML
- def _head: String
- Definition Classes
- Digraph → GraphVizDotML
- val _node: String
- Attributes
- protected
- Definition Classes
- GraphVizDotML
- val _subgraph: String
- Attributes
- protected
- Definition Classes
- GraphVizDotML
- val _tail: String
- Attributes
- protected
- Definition Classes
- GraphVizDotML
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attr(kw: String, attrs: Map[String, String] = null): Unit
Add a graph/node/edge attribute statement.
Add a graph/node/edge attribute statement.
- kw
Attributes target ("graph", "node", or "edge").
- attrs
Attributes to be set.
- Definition Classes
- GraphVizDotML
- def attribute(label: String = null, attrs: Map[String, String] = null): String
Return assembled DOT attributes string.
Return assembled DOT attributes string.
- Attributes
- protected
- Definition Classes
- GraphVizDotML
- val body: ArrayBuffer[String]
- Definition Classes
- GraphVizDotML
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- var comment: String
- Definition Classes
- GraphVizDotML
- def edge(tailName: String, headName: String, label: String = null, attrs: Map[String, String] = null): Unit
Create an edge between two nodes.
Create an edge between two nodes.
- tailName
Start node identifier.
- headName
End node identifier.
- label
Caption to be displayed near the edge.
- attrs
Any additional edge attributes (must be strings).
- Definition Classes
- GraphVizDotML
- var edgeAttr: Map[String, String]
- Definition Classes
- GraphVizDotML
- def edges(tailHeads: Array[(String, String)]): Unit
Create a bunch of edges.
Create a bunch of edges.
- tailHeads
array of (tailName, headName) pairs.
- Definition Classes
- GraphVizDotML
- def edges(tailName: String, headNames: Array[String]): Unit
Create a bunch of edges.
Create a bunch of edges.
- tailName
Start node identifier.
- headNames
End nodes identifier.
- Definition Classes
- GraphVizDotML
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- var graphAttr: Map[String, String]
- Definition Classes
- GraphVizDotML
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var name: String
- Definition Classes
- GraphVizDotML
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def node(name: String, label: String = null, attrs: Map[String, String] = null): Unit
Create a node.
Create a node.
- name
Unique identifier for the node inside the source.
- label
Caption to be displayed (defaults to the node name).
- attrs
Any additional node attributes (must be strings).
- Definition Classes
- GraphVizDotML
- var nodeAttr: Map[String, String]
- Definition Classes
- GraphVizDotML
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def quote(identifier: String): String
Return DOT identifier from string, quote if needed.
Return DOT identifier from string, quote if needed.
- Attributes
- protected
- Definition Classes
- GraphVizDotML
- def save(fileName: String, directory: String): String
Save the DOT source to file.
Save the DOT source to file.
- directory
Directory for source saving and rendering.
- returns
The (possibly relative) path of the saved source file.
- Definition Classes
- GraphVizDotML
- def source(subGraph: Boolean = false): String
The DOT source code as string.
The DOT source code as string.
- Definition Classes
- GraphVizDotML
- var strict: Boolean
- Definition Classes
- GraphVizDotML
- def subGraph(graph: GraphVizDotML): Unit
Add the current content of the given graph as subgraph.
Add the current content of the given graph as subgraph.
- graph
An instance of the same kind (Graph, Digraph) as the current graph.
- Definition Classes
- GraphVizDotML
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()