public sealed class GraphPortOne socket on the side of a node.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ A port knows where it is without being laid out. AnchorOf works the position out from the node's rectangle and the port's index rather than from a port element's box, and that is load-bearing: the node at the far end of a wire is very often scrolled off the canvas and has no elements at all. A wire whose endpoint came from layout would be drawn to the origin whenever the thing it connects to was out of sight.
Fields and properties (7)
public GraphNode NodeThe node it belongs to.
public string NameWhat it is called.
public PortDirection DirectionWhich side it is on.
public int IndexWhere it comes among the ports on its own side.
public bool AllowsManyWhether more than one wire may end here.
public PortEditor? EditorWhat an author types into it when nothing is wired to it, or null for nothing.
public object? TagWhatever the application wants to hang off it.
Methods (1)
public override string ToString()Returns a string that represents the current object.
Used by (15)
- GraphNodeVixen.Ui.Controls.Advanced
- GraphWireVixen.Ui.Controls.Advanced
- NodeCanvasVixen.Ui.Controls.Advanced
- NodeCanvasTestsVixen.Ui.Controls.Advanced.Tests
- NodeGraphVixen.Ui.Controls.Advanced
- NodeGraphTestsVixen.Ui.Controls.Advanced.Tests
- NodeItemVixen.Ui.Controls.Advanced
- NodePortEditorVixen.Ui.Controls.Advanced
- NodePortViewVixen.Ui.Controls.Advanced
- NodeWireLayerVixen.Ui.Controls.Advanced
- GraphPairVixen.Editor.NodeGraph.Tests
- NodeGraphViewVixen.Editor.NodeGraph
- PortValueTestsVixen.Editor.NodeGraph.Tests
- ViewFixtureVixen.Editor.NodeGraph.Tests
- ViewTestsVixen.Editor.NodeGraph.Tests