Method ComputeEdgeSpacing
ComputeEdgeSpacing(SystemEdgeControl, PathDescriptor, List<EdgeDescriptor>, float, float)
Compute the edge spacing so that edges don't overlap
Declaration
public static void ComputeEdgeSpacing(SystemEdgeControl caller, AutoRouter.PathDescriptor pathDesc, List<EdgeDescriptor> edges, float scale, float edgeSpacing = 6)
Parameters
Type | Name | Description |
---|---|---|
SystemEdgeControl | caller | Caller visual object to use for coordinate transformation |
AutoRouter.PathDescriptor | pathDesc | Path descriptor |
List<EdgeDescriptor> | edges | Edges to check for overlap |
float | scale | Current scale of the graph |
float | edgeSpacing | Tolerance used for spacing |