Class

izumi.fundamentals.graphs.dotml

GraphVizDotML

Related Doc: package dotml

Permalink

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

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]())

    Permalink

Abstract Value Members

  1. abstract def _edge: String

    Permalink
    Attributes
    protected
  2. abstract def _edgePlain: String

    Permalink
    Attributes
    protected
  3. abstract def _head: String

    Permalink
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val HTML_STRING: Regex

    Permalink
    Attributes
    protected
  5. val _comment: String

    Permalink
    Attributes
    protected
  6. val _node: String

    Permalink
    Attributes
    protected
  7. val _subgraph: String

    Permalink
    Attributes
    protected
  8. val _tail: String

    Permalink
    Attributes
    protected
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def attr(kw: String, attrs: Map[String, String] = null): Unit

    Permalink

    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

    Permalink

    Return assembled DOT attributes string.

    Return assembled DOT attributes string.

    Attributes
    protected
  12. val body: ArrayBuffer[String]

    Permalink
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  14. var comment: String

    Permalink
  15. def edge(tailName: String, headName: String, label: String = null, attrs: Map[String, String] = null): Unit

    Permalink

    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]

    Permalink
  17. def edges(tailHeads: Array[(String, String)]): Unit

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  22. var graphAttr: Map[String, String]

    Permalink
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. var name: String

    Permalink
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. def node(name: String, label: String = null, attrs: Map[String, String] = null): Unit

    Permalink

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

  28. var nodeAttr: Map[String, String]

    Permalink
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  31. def quote(identifier: String): String

    Permalink

    Return DOT identifier from string, quote if needed.

    Return DOT identifier from string, quote if needed.

    Attributes
    protected
  32. def save(fileName: String, directory: String): String

    Permalink

    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.

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

    Permalink

    The DOT source code as string.

  34. var strict: Boolean

    Permalink
  35. def subGraph(graph: GraphVizDotML): Unit

    Permalink

    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.

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped