net.sourceforge.fluxion.graph.view
Interface GraphView
- All Known Implementing Classes:
- DotGraphView, FlexGraphView
public interface GraphView
Javadocs go here.
- Version:
- 1.0 date: 18-Aug-2006
- Author:
- Tony Burdett
setGraph
void setGraph(Graph graph)
getGraph
Graph getGraph()
setColorScheme
void setColorScheme(ColorScheme colourScheme)
getColorScheme
ColorScheme getColorScheme()
render
void render(java.io.OutputStream outputStream)
throws java.io.IOException
- Renders this GraphView to the given output stream. This will then write
the graph description to this stream. Note that this method renders the
description of this GraphView in an implementation specific format, not the
actual graphics. So, for example, an implementation exists to render this
Graph to DOT format.
- Parameters:
outputStream
- the output stream to render the dot description to
- Throws:
java.io.IOException
- if the output stream cannot be written to
setNodeViews
void setNodeViews(java.util.Set<NodeView> nodes)
addNodeView
void addNodeView(NodeView node)
getNodeViews
java.util.Set<NodeView> getNodeViews()
setEdgeViews
void setEdgeViews(java.util.Set<EdgeView> edges)
addEdgeView
void addEdgeView(EdgeView edge)
getEdgeViews
java.util.Set<EdgeView> getEdgeViews()
Copyright © 2010. All Rights Reserved.