Class JmtRoutingBezier

java.lang.Object
jsimgraph.JGraphMod.JmtRoutingBezier
All Implemented Interfaces:
Serializable, org.jgraph.graph.Edge.Routing

public class JmtRoutingBezier extends Object implements org.jgraph.graph.Edge.Routing
Author:
Emma Bortone Date: 24-March-2020 Time: 14.57.00 This function returns a list containing the routing points for a Bezier edge. A Bezier conneciton is a path is composed of several arcs The list contains the source, target and control points for each arc of the path.
See Also:
  • Constructor Details

    • JmtRoutingBezier

      public JmtRoutingBezier()
  • Method Details

    • route

      public List<Point2D> route(org.jgraph.graph.GraphLayoutCache cache, org.jgraph.graph.EdgeView edgeView)
      Specified by:
      route in interface org.jgraph.graph.Edge.Routing
    • getPreferredLineStyle

      public int getPreferredLineStyle(org.jgraph.graph.EdgeView edgeView)
      Specified by:
      getPreferredLineStyle in interface org.jgraph.graph.Edge.Routing