Class BasicEdgeRouter<V extends VisualVertex,​E extends VisualEdge<V>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Collection<E> edges  
      protected edu.uci.ics.jung.visualization.VisualizationServer<V,​E> viewer  
    • Constructor Summary

      Constructors 
      Constructor Description
      BasicEdgeRouter​(edu.uci.ics.jung.visualization.VisualizationServer<V,​E> viewer, java.util.Collection<E> edges)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean isOccluded​(E edge, java.awt.Shape graphSpaceShape)  
      protected java.util.List<java.awt.geom.Point2D> removeBadlyAngledArticulations​(E edge, java.util.List<java.awt.geom.Point2D> articulations)  
      void route()  
      • Methods inherited from class java.lang.Object

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

      • viewer

        protected edu.uci.ics.jung.visualization.VisualizationServer<V extends VisualVertex,​E extends VisualEdge<V>> viewer
      • edges

        protected java.util.Collection<E extends VisualEdge<V>> edges
    • Constructor Detail

      • BasicEdgeRouter

        public BasicEdgeRouter​(edu.uci.ics.jung.visualization.VisualizationServer<V,​E> viewer,
                               java.util.Collection<E> edges)
    • Method Detail

      • route

        public void route()
      • isOccluded

        protected boolean isOccluded​(E edge,
                                     java.awt.Shape graphSpaceShape)
      • removeBadlyAngledArticulations

        protected java.util.List<java.awt.geom.Point2D> removeBadlyAngledArticulations​(E edge,
                                                                                       java.util.List<java.awt.geom.Point2D> articulations)