Class DotGraphWriter

java.lang.Object
kieker.analysis.generic.sink.graph.dot.DotGraphWriter

public class DotGraphWriter
extends java.lang.Object
Class to build and write a DOT Graph to a writer.
Since:
1.14
Author:
Sören Henning
  • Constructor Summary

    Constructors 
    Constructor Description
    DotGraphWriter​(java.io.Writer writer)  
  • Method Summary

    Modifier and Type Method Description
    void addClusterStart​(java.lang.String name)  
    void addClusterStop()  
    void addDefaultEdgeAttributes​(java.util.Map<java.lang.String,​java.lang.String> attributes)  
    void addDefaultNodeAttributes​(java.util.Map<java.lang.String,​java.lang.String> attributes)  
    void addEdge​(java.lang.String sourceId, java.lang.String targetId)  
    void addEdge​(java.lang.String sourceId, java.lang.String targetId, java.util.Map<java.lang.String,​java.lang.String> attributes)  
    void addGraphAttribute​(java.lang.String key, java.lang.String value)  
    void addNode​(java.lang.String id)  
    void addNode​(java.lang.String id, java.util.Map<java.lang.String,​java.lang.String> attributes)  
    void addSubgraphStart​(java.lang.String name)  
    void addSubgraphStop()  
    void finish()  
    void start​(java.lang.String name)  
    void start​(DotGraphType newGraphType, java.lang.String name)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • start

      public void start​(java.lang.String name) throws java.io.IOException
      Throws:
      java.io.IOException
    • start

      public void start​(DotGraphType newGraphType, java.lang.String name) throws java.io.IOException
      Throws:
      java.io.IOException
    • finish

      public void finish() throws java.io.IOException
      Throws:
      java.io.IOException
    • addDefaultNodeAttributes

      public void addDefaultNodeAttributes​(java.util.Map<java.lang.String,​java.lang.String> attributes) throws java.io.IOException
      Throws:
      java.io.IOException
    • addDefaultEdgeAttributes

      public void addDefaultEdgeAttributes​(java.util.Map<java.lang.String,​java.lang.String> attributes) throws java.io.IOException
      Throws:
      java.io.IOException
    • addGraphAttribute

      public void addGraphAttribute​(java.lang.String key, java.lang.String value) throws java.io.IOException
      Throws:
      java.io.IOException
    • addNode

      public void addNode​(java.lang.String id) throws java.io.IOException
      Throws:
      java.io.IOException
    • addNode

      public void addNode​(java.lang.String id, java.util.Map<java.lang.String,​java.lang.String> attributes) throws java.io.IOException
      Throws:
      java.io.IOException
    • addEdge

      public void addEdge​(java.lang.String sourceId, java.lang.String targetId) throws java.io.IOException
      Throws:
      java.io.IOException
    • addEdge

      public void addEdge​(java.lang.String sourceId, java.lang.String targetId, java.util.Map<java.lang.String,​java.lang.String> attributes) throws java.io.IOException
      Throws:
      java.io.IOException
    • addSubgraphStart

      public void addSubgraphStart​(java.lang.String name) throws java.io.IOException
      Throws:
      java.io.IOException
    • addSubgraphStop

      public void addSubgraphStop() throws java.io.IOException
      Throws:
      java.io.IOException
    • addClusterStart

      public void addClusterStart​(java.lang.String name) throws java.io.IOException
      Throws:
      java.io.IOException
    • addClusterStop

      public void addClusterStop() throws java.io.IOException
      Throws:
      java.io.IOException