Package net.wigis.graph.dnv

Examples of net.wigis.graph.dnv.DNVNode.iterateSubGraph()


        // Do one iteration of the layout algorithm for the subnodes of
        // a random node
        int random = (int)( Math.random() * graph.getGraphSize( level ) );
        DNVNode tempNode = graph.getNodes( level ).get( random );
        tempNode.iterateSubGraph();

        overallForce = forceStrength.getVectorSum().length();
        if( overallForce < minOverallForce )
          minOverallForce = overallForce;
        if( automaticLevelJump && graph.getActiveNodes( level ).size() < graph.getGraphSize( level ) / 5.0 )
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.