Package prefuse.util.force

Examples of prefuse.util.force.NBodyForce$QuadTreeNode


        m_edgeGroup = PrefuseLib.getGroupName(group, Graph.EDGES);
       
        m_enforceBounds = enforceBounds;
        m_runonce = runonce;
        m_fsim = new ForceSimulator();
        m_fsim.addForce(new NBodyForce());
        m_fsim.addForce(new SpringForce());
        m_fsim.addForce(new DragForce());
    }
View Full Code Here


       
        public DataMountainForceLayout(boolean enforceBounds) {
            super("data",enforceBounds,false);
           
            ForceSimulator fsim = new ForceSimulator();
            fsim.addForce(new NBodyForce(-0.4f, 25f, NBodyForce.DEFAULT_THETA));
            fsim.addForce(new SpringForce(1e-5f,0f));
            fsim.addForce(new DragForce());
            setForceSimulator(fsim);
           
            m_nodeGroup = "data";
View Full Code Here

TOP

Related Classes of prefuse.util.force.NBodyForce$QuadTreeNode

Copyright © 2018 www.massapicom. 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.