net.sourceforge.fluxion.runcible.graph.view.renderer
Class DotGraphViewRenderer

java.lang.Object
  extended by net.sourceforge.fluxion.graph.view.renderer.AbstractGraphViewRenderer
      extended by net.sourceforge.fluxion.runcible.graph.view.renderer.DotGraphViewRenderer
All Implemented Interfaces:
GraphViewRenderer

public class DotGraphViewRenderer
extends AbstractGraphViewRenderer

A GraphViewRenderer that renders the output of a DotGraphView.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.sourceforge.fluxion.graph.view.renderer.AbstractGraphViewRenderer
AbstractGraphViewRenderer.Operating_System
 
Constructor Summary
DotGraphViewRenderer()
           
 
Method Summary
 java.io.InputStream renderGraphView()
          Invokes GraphViz on the given GraphView to generate the graph image, in SVG, for the graph.
 
Methods inherited from class net.sourceforge.fluxion.graph.view.renderer.AbstractGraphViewRenderer
getDotLocation, getGraphView, setGraphView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotGraphViewRenderer

public DotGraphViewRenderer()
Method Detail

renderGraphView

public java.io.InputStream renderGraphView()
                                    throws java.io.IOException
Invokes GraphViz on the given GraphView to generate the graph image, in SVG, for the graph.

Returns:
an InputStream that can be used to read SVG
Throws:
java.io.IOException - if the system cannot connect to the dot process


Copyright © 2010. All Rights Reserved.