Package ghidra.graph.viewer.edge.routing

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

java.lang.Object
ghidra.graph.viewer.edge.routing.BasicEdgeRouter<V,E>

public class BasicEdgeRouter<V extends VisualVertex,E extends VisualEdge<V>> extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected 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, Collection<E> edges)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `isOccluded(E edge, Shape graphSpaceShape)`
  `protected List<Point2D>`
  `removeBadlyAngledArticulations(E edge, List<Point2D> articulations)`
  `void`
  `route()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### viewer

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

  - ### edges

    protected Collection<E extends VisualEdge<V>> edges

- ## Constructor Details

  - ### BasicEdgeRouter

    public BasicEdgeRouter(edu.uci.ics.jung.visualization.VisualizationServer<V,E> viewer, Collection<E> edges)

- ## Method Details

  - ### route

    public void route()

  - ### isOccluded

    protected boolean isOccluded(E edge, Shape graphSpaceShape)

  - ### removeBadlyAngledArticulations

    protected List<Point2D> removeBadlyAngledArticulations(E edge, List<Point2D> articulations)