/** * render node labels with font = text * * @param gl * @param nr * @param text */ void renderLabels(GL gl, GraphRenderer nr, int text) { // boolean fast = (net.nNodes.size()>edgeTresh); boolean fast = false; for (Edge eref : net.nEdges) nr.renderEdgeLabels(gl, eref, text, fast); for (Node nref : net.nNodes) nr.renderNodeLabels(gl, nref, text, fast); }
/** * render edges contained in net in 3d * * @param gl * @param nr * @param text */ public void renderEdges3D(GL gl, GraphRenderer nr, int text) { for (Edge eref : net.nEdges) { nr.renderEdges(gl, eref); nr.renderEdgeLabels(gl, eref, text, false); } }