Class SVGGraphRenderer
- java.lang.Object
- 
- hudson.plugins.project_inheritance.util.svg.renderers.SVGGraphRenderer
 
- 
- Direct Known Subclasses:
- SVGTreeRenderer
 
 public abstract class SVGGraphRenderer extends Object This is the abstract base class for rendering an SVG graph out of the basicGraphdescription.- Author:
- mhschroe
 
- 
- 
Constructor SummaryConstructors Constructor Description SVGGraphRenderer(Graph<SVGNode> graph, int width, int height)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Collection<SVGPrimitive>getElements()This method returns all drawables defined by the current graph.Documentrender()This method renders the graph as a full SVG 1.1 document.
 
- 
- 
- 
Method Detail- 
renderpublic Document render() This method renders the graph as a full SVG 1.1 document.Override this method if you don't want the default SVG 1.1 header - Returns:
- an SVG 1.1 document containing the graph.
 
 - 
getElementspublic abstract Collection<SVGPrimitive> getElements() This method returns all drawables defined by the current graph.- Returns:
- the SVGPrimitives that should go below the <svg> root.
 
 
- 
 
-