/** * render the nodes in net * * @param gl * @param nr * @param text */ public void renderNodes3D(GL gl, GraphRenderer nr, int text) { applyPickColors(); for (Node n : net.nNodes) { nr.renderNode(gl, n); nr.renderNodeLabels(gl, n, text, false); } }
/** * render the nodes in net * * @param gl * @param nr * @param text */ public void renderNodes(GL gl, GraphRenderer nr, int text) { applyPickColors(); for (Node n : net.nNodes) { nr.renderNode(gl, n); } }
public void visitNode(Node node) throws E { if (visitedNodes.add(node)) { renderProperties(renderer.renderNode(node), node); } }