Interface SetEndpointStrategy

All Known Implementing Classes:
DefaultSetEndpointStrategy, SvarSetEndpointStrategy

public interface SetEndpointStrategy
The SetEndpointStrategy interface provides a strategy for setting the endpoint of an edge in a graph.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setEndpoint(Graph graph, Node a, Node b, Endpoint arrow)
    Sets the endpoint of a graph given the two nodes and the desired endpoint.
  • Method Details

    • setEndpoint

      void setEndpoint(Graph graph, Node a, Node b, Endpoint arrow)
      Sets the endpoint of a graph given the two nodes and the desired endpoint.
      Parameters:
      graph - the graph in which the endpoint is being set
      a - the starting node of the endpoint
      b - the ending node of the endpoint
      arrow - the desired endpoint value