org.processmining.framework.log
Class ProcessInstanceVisualization

java.lang.Object
  extended by org.processmining.framework.log.ProcessInstanceVisualization
All Implemented Interfaces:
DotFileWriter

public class ProcessInstanceVisualization
extends java.lang.Object
implements DotFileWriter

This class provides Dot and Grappa visualization for a process instance.

Author:
Christian W. Guenther (christian at deckfour dot org)

Nested Class Summary
protected  class ProcessInstanceVisualization.ProcessInstanceModelGraph
          Helper class.
 
Field Summary
protected  ProcessInstance instance
          The wrapped process instance
 
Constructor Summary
ProcessInstanceVisualization(ProcessInstance anInstance)
          Creates a new visualization wrapper for the given process instance
 
Method Summary
 ModelGraphPanel getGrappaVisualization()
          Retrieves the grappa visualization of the wrapped process instance as a ModelGraphPanel.
 ProcessInstanceVisualization.ProcessInstanceModelGraph getModelGraph()
          Retrieves the grappa visualization of the wrapped process instance as a ModelGraph
 void writeToDot(java.io.Writer bw)
          Writes a Dot representation of the wrapped process instance to the given writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

protected ProcessInstance instance
The wrapped process instance

Constructor Detail

ProcessInstanceVisualization

public ProcessInstanceVisualization(ProcessInstance anInstance)
Creates a new visualization wrapper for the given process instance

Parameters:
anInstance -
Method Detail

writeToDot

public void writeToDot(java.io.Writer bw)
                throws java.io.IOException
Writes a Dot representation of the wrapped process instance to the given writer.

Specified by:
writeToDot in interface DotFileWriter
Parameters:
bw -
Throws:
java.io.IOException

getGrappaVisualization

public ModelGraphPanel getGrappaVisualization()
Retrieves the grappa visualization of the wrapped process instance as a ModelGraphPanel.

Returns:

getModelGraph

public ProcessInstanceVisualization.ProcessInstanceModelGraph getModelGraph()
Retrieves the grappa visualization of the wrapped process instance as a ModelGraph

Returns: