/// <summary> /// /// </summary> /// <param name="outsideDepth"></param> public void ComputeDepth(int outsideDepth) { ClearVisitedEdges(); // find an outside edge to assign depth to DirectedEdge de = finder.Edge; // right side of line returned by finder is on the outside de.SetEdgeDepths(Positions.Right, outsideDepth); CopySymDepths(de); ComputeDepths(de); }
public void ComputeDepth(int outsideDepth) { ClearVisitedEdges(); // find an outside edge to assign depth to DirectedEdge de = _finder.GetEdge(); Node n = de.Node; Label label = de.Label; // right side of line returned by finder is on the outside de.SetEdgeDepths(Position.Right, outsideDepth); ComputeNodeDepth(n, de); }