scalax.collection.io

dot

package dot

Enables to export Graph instances to the DOT language by means of user-defined edge and node transformers. Transformers may enrich the DOT structure with arbitrary DOT attributes and establish subgraph relationships.

As a starting point when reading the API, please refer to Export.toDot.

The Graph4Scala DOT UserGuide is available at http://www.assembla.com/spaces/scala-graph/documents.

Visibility
  1. Public
  2. All

Type Members

  1. abstract class AttrSeparator extends AnyRef

    Template to define any DOT graph attribute separator.

  2. type DotAST = Graph[DotCluster, DiEdge]

    Attributes
    protected
    Definition Classes
    package
  3. case class DotAttr(name: String, value: String) extends Product with Serializable

    Represents ID '=' ID of the DOT language syntax.

  4. case class DotCluster(dotGraph: DotGraph, dotStmts: Set[DotStmt]) extends Product with Serializable

    Attributes
    protected
  5. case class DotEdgeStmt(node_1Id: String, node_2Id: String, attrList: Seq[DotAttr]) extends DotStmt with Product with Serializable

    Represents edge_stmt of the DOT language syntax.

  6. sealed trait DotGraph extends AnyRef

  7. case class DotNodeStmt(nodeId: String, attrList: Seq[DotAttr]) extends DotStmt with Product with Serializable

    Represents node_stmt of the DOT language syntax with the exception of subgraph which is covered by the return value of the user-supplied *Transformer functions passed to toDot.

  8. case class DotRootGraph(directed: Boolean, id: Option[String], strict: Boolean, kvList: Seq[DotAttr]) extends DotGraph with Product with Serializable

    Represents graph of the DOT language syntax without its embedded elements.

  9. trait DotStmt extends AnyRef

    Represents stmt of the DOT language syntax with the exception of subgraph which is covered by the return value of the user-supplied *Transformer functions passed to toDot.

  10. case class DotSubGraph(ancestor: DotGraph, subgraphId: String, kvList: Seq[DotAttr]) extends DotGraph with Product with Serializable

    Represents subgraph of the DOT language syntax without its embedded elements.

  11. class Export[N, E[X] <: EdgeLikeIn[X]] extends AnyRef

    Contains methods to transform graph to the DOT language.

  12. case class Spacing(indent: Indent, graphAttrSeparator: AttrSeparator, elemAttrSeparator: AttrSeparator) extends Product with Serializable

Value Members

  1. object AttrSeparator extends AnyRef

    Holds predefined character sequences to separate specific DOT language elements.

  2. object DefaultSpacing extends Spacing

    Spacing with indent set to Tab, graphAttrSeparator set to NewLine and elemAttrSeparator set to SemicolonSpace.

  3. def DotAST: scalax.collection.mutable.Graph.type

    Attributes
    protected
    Definition Classes
    package
  4. object Indent extends Enumeration

    Predefined units of indentation.

  5. implicit def graph2DotExport[N, E[X] <: EdgeLikeIn[X]](graph: Graph[N, E]): Export[N, E]

    Enables to call <g>.toDot with <g> being a Graph instance.

    Enables to call <g>.toDot with <g> being a Graph instance.

    Definition Classes
    package