Class LayoutManagerBase

    • Constructor Summary

      Constructors 
      Constructor Description
      LayoutManagerBase​(org.ikasan.vaadin.visjs.network.NetworkDiagram networkDiagram, Logo logo)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addEdge​(java.lang.String fromId, java.lang.String toId, java.lang.String label)  
      int getxSpacing()  
      int getySpacing()  
      protected void manageTransition​(org.ikasan.vaadin.visjs.network.Node transition, int x, int y)
      This method recursively works its way through a flow with all of its various transitions and lays out the flow in a left to right, top to bottom fashion.
      void setxSpacing​(int xSpacing)  
      void setySpacing​(int ySpacing)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • networkDiagram

        protected org.ikasan.vaadin.visjs.network.NetworkDiagram networkDiagram
      • edgeList

        protected java.util.List<org.ikasan.vaadin.visjs.network.Edge> edgeList
      • nodeList

        protected java.util.List<org.ikasan.vaadin.visjs.network.Node> nodeList
      • destinations

        protected java.util.List<Destination> destinations
      • logo

        protected Logo logo
      • xExtent

        protected int xExtent
      • yExtent

        protected int yExtent
      • xExtentFinal

        protected int xExtentFinal
      • xStart

        protected int xStart
      • yStart

        protected int yStart
      • xSpacing

        protected int xSpacing
      • ySpacing

        protected int ySpacing
    • Constructor Detail

      • LayoutManagerBase

        public LayoutManagerBase​(org.ikasan.vaadin.visjs.network.NetworkDiagram networkDiagram,
                                 Logo logo)
    • Method Detail

      • manageTransition

        protected void manageTransition​(org.ikasan.vaadin.visjs.network.Node transition,
                                        int x,
                                        int y)
        This method recursively works its way through a flow with all of its various transitions and lays out the flow in a left to right, top to bottom fashion.
        Parameters:
        transition -
        x -
        y -
      • addEdge

        protected void addEdge​(java.lang.String fromId,
                               java.lang.String toId,
                               java.lang.String label)
      • getxSpacing

        public int getxSpacing()
      • setxSpacing

        public void setxSpacing​(int xSpacing)
      • getySpacing

        public int getySpacing()
      • setySpacing

        public void setySpacing​(int ySpacing)