Ejemplo n.º 1
0
 /// <summary>
 /// Sets the initial absolute terminal points in the given state before the edge
 /// style is computed.
 /// </summary>
 /// <param name="edge">Cell state whose initial terminal points should be updated.</param>
 /// <param name="source">Cell state which represents the source terminal.</param>
 /// <param name="target">Cell state which represents the target terminal.</param>
 public void UpdateFixedTerminalPoints(mxCellState edge, mxCellState source, mxCellState target)
 {
     UpdateFixedTerminalPoint(edge, source, true,
                              graph.GetConnectionConstraint(edge, source, true));
     UpdateFixedTerminalPoint(edge, target, false,
                              graph.GetConnectionConstraint(edge, target, false));
 }