Vixen
dd8b0a81
csharp
public sealed class NodeItem

One node, as an element.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ Rebound rather than rebuilt, the same bargain TreeRow makes: the pool is the size of what fits on screen, and panning a graph of ten thousand nodes rebinds thirty elements rather than creating and destroying thousands.

Fields and properties (16)

  • protected override string TagName

    The element name this type answers to when a caller does not choose one.

  • protected override bool AcceptsFocus
  • protected override AccessibleRole NativeRole
  • protected override string? NativeAccessibleName
  • protected override AccessibleStates NativeAccessibleState
  • public GraphNode? Node

    The node it is showing, or null if it is parked.

  • public UiElement Header

    The title bar.

  • public UiElement Title

    The name in it.

  • public UiElement BadgeLabel

    The short mark at the right of it, hidden when there is none.

  • public UiElement AboveLayer

    The rows stacked above the body.

  • public UiElement BelowLayer

    The rows stacked below it.

  • public UiElement Body

    The row holding the two columns of ports.

  • public UiElement InputColumn

    The left column.

  • public UiElement OutputColumn

    The right column.

  • public IReadOnlyList<NodePortView> Inputs

    The port elements on the left, including the parked ones.

  • public IReadOnlyList<NodePortView> Outputs

    Ditto, on the right.

Methods (2)

  • protected override void OnCreated()

    Builds whatever this element is made of, once, as it joins a document.

  • public NodePortView? ViewOf(GraphPort port)

    The element showing a port, if this item has one for it.

Used by (8)

  • NodeCanvasVixen.Ui.Controls.Advanced
  • NodeCanvasKeyboardTestsVixen.Ui.Controls.Advanced.Tests
  • NodeCanvasTestsVixen.Ui.Controls.Advanced.Tests
  • PortValueTestsVixen.Editor.NodeGraph.Tests
  • TextureGraphPanelTestsVixen.Editor.Texturing.Tests
  • TextureGraphUndoTestsVixen.Editor.Texturing.Tests
  • ViewFixtureVixen.Editor.NodeGraph.Tests
  • ViewTestsVixen.Editor.NodeGraph.Tests