Class SlimNetwork


  • public class SlimNetwork
    extends Object
    • Field Detail

      • left

        public float left
      • top

        public float top
      • width

        public float width
      • height

        public float height
      • massCenterX

        public float massCenterX
      • massCenterY

        public float massCenterY
      • nodePosX

        public float[] nodePosX
      • nodePosY

        public float[] nodePosY
      • numNodes

        public int numNodes
      • numNodesPadded

        public int numNodesPadded
      • numEdgesSparse

        public int numEdgesSparse
      • numEdgesUnique

        public int numEdgesUnique
      • numEdgesUniquePadded

        public int numEdgesUniquePadded
      • edges

        public int[] edges
      • edgeCoeffs

        public float[] edgeCoeffs
      • edgeLengths

        public float[] edgeLengths
      • edgeUniqueSources

        public int[] edgeUniqueSources
      • edgeUniqueTargets

        public int[] edgeUniqueTargets
      • edgeMassStart

        public float[] edgeMassStart
      • edgeMassEnd

        public float[] edgeMassEnd
      • nodeToIndex

        public HashMap<org.cytoscape.view.layout.LayoutNode,​Integer> nodeToIndex
    • Constructor Detail

      • SlimNetwork

        public SlimNetwork​(org.cytoscape.view.layout.LayoutPartition part,
                           Boolean deterministic,
                           float defaultNodeMass,
                           float springCoefficient,
                           float springLength,
                           org.cytoscape.view.layout.EdgeWeighter edgeWeighter,
                           int padding)
    • Method Detail

      • updateMetrics

        public void updateMetrics()
      • offset

        public void offset​(float x,
                           float y)