use of yext.svg.io.SVGIOHandler in project binnavi by google.
the class GraphExporters method exportAllAsSVG.
@SuppressWarnings("unchecked")
public static boolean exportAllAsSVG(final AbstractZyGraph zygraph, final String filename) throws IOException {
Graph2DView view = zygraph.getView();
final SVGIOHandler svg = new SVGIOHandler();
exportGraphToImageFileFormat(view.getGraph2D(), svg, filename, svg.createDefaultGraph2DView(view.getGraph2D()));
return true;
}
use of yext.svg.io.SVGIOHandler in project binnavi by google.
the class GraphExporters method exportPartAsSVG.
@SuppressWarnings("unchecked")
public static void exportPartAsSVG(final AbstractZyGraph zygraph, final String filename) throws IOException {
Graph2DView view = zygraph.getView();
final SVGIOHandler svg = new SVGIOHandler();
exportGraphPartToImageFileFormat(view.getGraph2D(), svg, filename);
}
Aggregations