Class AbstractNetworkLayout<T>

    • Field Detail

      • baseGraph

        protected Network<T> baseGraph
      • layoutName

        protected String layoutName
      • locationData

        protected Map<Object,​double[]> locationData
    • Constructor Detail

      • AbstractNetworkLayout

        public AbstractNetworkLayout()
    • Method Detail

      • update

        public void update()
        Description copied from interface: Layout
        Updates this layout.
        Specified by:
        update in interface Layout<T,​Network<T>>
      • setProjection

        public void setProjection​(Network<T> projection)
        Description copied from interface: Layout
        Sets the projection associated with this Layout.
        Specified by:
        setProjection in interface Layout<T,​Network<T>>
        Parameters:
        projection - the associated projection.
      • getName

        public String getName()
        Description copied from interface: Layout
        Gets the name of the layout
        Specified by:
        getName in interface Layout<T,​Network<T>>
        Returns:
        name of the layout type
      • getGraph

        public Network<T> getGraph()
      • getLocationData

        public Map<Object,​double[]> getLocationData()