Packages

class Digraph extends GraphVizDotML

Directed graph source code in the DOT language.

Linear Supertypes
GraphVizDotML, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Digraph
  2. GraphVizDotML
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val HTML_STRING: Regex
    Attributes
    protected
    Definition Classes
    GraphVizDotML
  5. val _comment: String
    Attributes
    protected
    Definition Classes
    GraphVizDotML
  6. def _edge: String
    Definition Classes
    DigraphGraphVizDotML
  7. def _edgePlain: String
    Definition Classes
    DigraphGraphVizDotML
  8. def _head: String
    Definition Classes
    DigraphGraphVizDotML
  9. val _node: String
    Attributes
    protected
    Definition Classes
    GraphVizDotML
  10. val _subgraph: String
    Attributes
    protected
    Definition Classes
    GraphVizDotML
  11. val _tail: String
    Attributes
    protected
    Definition Classes
    GraphVizDotML
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. 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
  14. 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
  15. val body: ArrayBuffer[String]
    Definition Classes
    GraphVizDotML
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  17. var comment: String
    Definition Classes
    GraphVizDotML
  18. 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
  19. var edgeAttr: Map[String, String]
    Definition Classes
    GraphVizDotML
  20. 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
  21. 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
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  25. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. var graphAttr: Map[String, String]
    Definition Classes
    GraphVizDotML
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. var name: String
    Definition Classes
    GraphVizDotML
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. 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
  32. var nodeAttr: Map[String, String]
    Definition Classes
    GraphVizDotML
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. 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
  36. 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
  37. def source(subGraph: Boolean = false): String

    The DOT source code as string.

    The DOT source code as string.

    Definition Classes
    GraphVizDotML
  38. var strict: Boolean
    Definition Classes
    GraphVizDotML
  39. 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
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from GraphVizDotML

Inherited from AnyRef

Inherited from Any

Ungrouped