Class SystemEdge
SystemEdge handles edge manipulation in the graph. Implements the Edge
Implements
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
public class SystemEdge : Edge, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, ISelectable
Constructors
Name | Description |
---|---|
SystemEdge() | Initializes a new instance of the SystemEdge class. |
Properties
Name | Description |
---|---|
EdgeState | State of the edge. Is it a normal edge or a BadConnection edge? |
PointsAndTangents | The edge's points and tangents. |
candidatePosition | The edge's end position while it's being created. |
defaultColor | Default edge color. |
edgeControl | The VisualElement child of Edge that draws the lines and does the hit detection. |
edgeWidth | Edge width. |
ghostColor | The color of the ghost edge, which is the edge that appears snapped to a nearby port while an edge is being created. |
input | Connected input port. |
isGhostEdge | Is this edge a ghost edge, which is the edge that appears snapped to a nearby port while an edge is being created. |
output | Connected output port. |
selectedColor | Color of edge while selected. |
Methods
Name | Description |
---|---|
Construct() | Constructs this instance. |
ContainsPoint(Vector2) | Checks if point is on top of edge. |
CreateEdgeControl() | Creates the edge control. |
DrawEdge() | Draw the edge's lines. |
Flash() | Flashes this instance. |
OnCustomStyleResolved(ICustomStyle) | Called when the custom style properties are resolved. |
OnPortChanged(bool) | Called when a port on the edge is changed. |
OnSelected() | Called when [selected]. |
OnUnselected() | Called when [unselected]. |
Overlaps(Rect) | Check if edge overlaps rectangle. |
UpdateEdgeControl() | Update the edge's EdgeControl. |