use of org.cytoscape.view.vizmap.VisualPropertyDependency in project cytoscape-impl by cytoscape.
the class DGraphView method renderGraph.
/**
* @param setLastRenderDetail if true, "m_lastRenderDetail" will be updated, otherwise it will not be updated.
*/
int renderGraph(GraphGraphics graphics, final GraphLOD lod, Paint bgColor, double xCenter, double yCenter, double scale, LongHash hash) {
int lastRenderDetail = 0;
try {
synchronized (m_lock) {
// final VisualMappingManager vmm = serviceRegistrar.getService(VisualMappingManager.class);
final Set<VisualPropertyDependency<?>> dependencies = vmm.getVisualStyle(this).getAllVisualPropertyDependencies();
lastRenderDetail = GraphRenderer.renderGraph(this, m_spacial, lod, m_nodeDetails, m_edgeDetails, hash, graphics, bgColor, xCenter, yCenter, scale, haveZOrder, dependencies);
}
} catch (Exception e) {
e.printStackTrace();
}
setContentChanged(false);
setViewportChanged(false);
m_visualChanged = true;
return lastRenderDetail;
}
Aggregations