Class SpringLayoutAlgorithm<V,​E>

    • Constructor Detail

      • SpringLayoutAlgorithm

        public SpringLayoutAlgorithm()
    • Method Detail

      • getStretch

        public double getStretch()
        Returns:
        the current value for the stretch parameter
      • setStretch

        public void setStretch​(double stretch)
      • getRepulsionRange

        public int getRepulsionRange()
      • setRepulsionRange

        public void setRepulsionRange​(int range)
      • getForceMultiplier

        public double getForceMultiplier()
      • setForceMultiplier

        public void setForceMultiplier​(double force)
      • initialize

        public void initialize()
      • relaxEdges

        protected void relaxEdges()
      • moveVertices

        protected void moveVertices()