Interface Router


public interface Router
This class is responsible for routing path of connection widgets. Built-in routers could be created by RouterFactory class. Routers are assigned to connection widgets using ConnectionWidget.setRouter method.
  • Method Details

    • routeConnection

      List<Point> routeConnection(ConnectionWidget widget)
      Routes a path for a connection widget. The path is specified by a list of control points.
      Parameters:
      widget - the connection widget
      Returns:
      the list of control points