Packages

abstract class GraphVizDotML extends AnyRef

Assemble, save, and render DOT source code, open result in viewer.

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

Instance Constructors

  1. new GraphVizDotML(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]())

Abstract Value Members

  1. abstract def _edge: String
    Attributes
    protected
  2. abstract def _edgePlain: String
    Attributes
    protected
  3. abstract def _head: String
    Attributes
    protected

Concrete 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
  5. val _comment: String
    Attributes
    protected
  6. val _node: String
    Attributes
    protected
  7. val _subgraph: String
    Attributes
    protected
  8. val _tail: String
    Attributes
    protected
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. 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.

  11. def attribute(label: String = null, attrs: Map[String, String] = null): String

    Return assembled DOT attributes string.

    Return assembled DOT attributes string.

    Attributes
    protected
  12. val body: ArrayBuffer[String]
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. var comment: String
  15. 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).

  16. var edgeAttr: Map[String, String]
  17. def edges(tailHeads: Array[(String, String)]): Unit

    Create a bunch of edges.

    Create a bunch of edges.

    tailHeads

    array of (tailName, headName) pairs.

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

  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. var graphAttr: Map[String, String]
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. var name: String
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. 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).

  29. var nodeAttr: Map[String, String]
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def quote(identifier: String): String

    Return DOT identifier from string, quote if needed.

    Return DOT identifier from string, quote if needed.

    Attributes
    protected
  33. 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.

  34. def source(subGraph: Boolean = false): String

    The DOT source code as string.

  35. var strict: Boolean
  36. 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.

  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped