Class SystemEdgeControl
SystemEdgeControl handles the visual effects of edges in the graph. Implements the VisualElement
Implements
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
public class SystemEdgeControl : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle
Constructors
| Name | Description |
|---|---|
| SystemEdgeControl() | Initializes a new instance of the SystemEdgeControl class. |
Fields
| Name | Description |
|---|---|
| kBezierSectionPrecision | The constant bezier section precision |
| kPortEdgeMargin | The constant port edge margin |
Properties
| Name | Description |
|---|---|
| EdgeState | The current state of this edge. Good or Bad connection state. |
| Graph | Get the graphview associated with this system edge control |
| Path | Get the path description of the system edge |
| capRadius | Gets or sets the cap radius. |
| controlPoints | Gets the control points. |
| drawFromCap | Gets or sets a value indicating whether [draw from cap]. |
| drawToCap | Gets or sets a value indicating whether [draw to cap]. |
| edgeColor | Gets or sets the color of the edge. |
| edgeWidth | Gets or sets the width of the edge. |
| from | Gets or sets from. |
| fromCapColor | Gets or sets the color of from cap. |
| inputColor | Gets or sets the color of the input. |
| inputOrientation | Gets or sets the input orientation. |
| interceptWidth | Gets or sets the width of the intercept. |
| outputColor | Gets or sets the color of the output. |
| outputOrientation | Gets or sets the output orientation. |
| selected | Gets or sets a value indicating whether this SystemEdgeControl is selected. |
| shadowColor | Gets or sets the color of the shadow. |
| to | Gets or sets to. |
| toCapColor | Gets or sets the color of to cap. |
Methods
| Name | Description |
|---|---|
| AutoRoute() | Find the route to connect the edge from it's source to it's target |
| ComputeControlPoints() | Computes the control points. |
| ComputeRouteLayout() | Compute the routing layout according to connections of the edge |
| ContainsPoint(Vector2) | Determines whether the specified local point contains point. |
| Flash() | Flashes this instance. |
| Overlaps(Rect) | Test overlap of the specified rect. |
| PointsChanged(bool) | Points position changed. |
| SetPorts(int, Port, int, Port) | Sets the ports. |
| Update() | Updates this instance. |
| UpdateLayout() | Updates the layout. |