Package org.gephi.layout.plugin.forceAtlas

Examples of org.gephi.layout.plugin.forceAtlas.ForceAtlasLayout.goAlgo()


        layout.setSpeed(1.0);//layout.setConverged(Boolean.TRUE);
        layout.setFreezeStrength(80.0);
        layout.setFreezeInertia(0.2);
        layout.setOutboundAttractionDistribution(Boolean.TRUE);//incoming links tend to be at centre
        for (int i = 0; i < 100 && layout.canAlgo(); i++) {
            layout.goAlgo();

        }
        //export the graph
        ExportController ec = Lookup.getDefault().lookup(ExportController.class);
        PDFExporter exporter = (PDFExporter) ec.getExporter("pdf");
View Full Code Here


        layout.setFreezeStrength(80.0);
        layout.setFreezeInertia(0.2);
        layout.setOutboundAttractionDistribution(Boolean.TRUE);
       
        for (int j = 0; j < 80 && layout.canAlgo(); j++) {
            layout.goAlgo();
        }
      

        System.out.println(H.getNodeCount() + " " + H.getEdgeCount());
        ExportController ec = Lookup.getDefault().lookup(ExportController.class);
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.