Example #1
0
 /**
  * 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);
   }
 }
Example #2
0
 /**
  * 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);
   }
 }
Example #3
0
 public void visitNode(Node node) throws E {
   if (visitedNodes.add(node)) {
     renderProperties(renderer.renderNode(node), node);
   }
 }