Vixen
caa30e12
csharp
public readonly record struct GraphAttachment

A row stacked on a node rather than wired to it.

Read the guide page for this →

Remarks

⚠ Attached, not connected, and that is structural rather than visual. An attachment is always exactly one edge to exactly one parent, can never be shared, and has no position of its own — so drawing it as a wire would be a line the author has to route in order to say nothing. A behaviour tree's decorators and services are the case this was added for; docs/plan/37 § D4 and § D19 are the argument, and the shader graph's live preview and validation badge want the same rows.

Fields and properties (4)

  • public string Text

    What it says.

  • public string Detail

    A second, quieter line — the settings summary a reader skims.

  • public string Kind

    A style class, so a theme can tell two sorts of row apart.

  • public bool Above

    Whether it stacks above the node's body or below it.

Methods (1)

  • public GraphAttachment(string Text, string Detail = "", string Kind = "", bool Above = true)

    A row stacked on a node rather than wired to it.

Used by (8)

  • GraphNodeVixen.Ui.Controls.Advanced
  • NodeCanvasVixen.Ui.Controls.Advanced
  • NodeItemVixen.Ui.Controls.Advanced
  • BehaviorTreeProjectionVixen.Editor.Ai
  • EventChainProjectionVixen.Editor.Gameplay.Quests
  • EventChainProjectionTestsVixen.Editor.Gameplay.Quests.Tests
  • GoapGraphProjectionVixen.Editor.Ai
  • LiveGoapTestsVixen.Editor.AssetEditors.Tests