Vixen
02b45cc4
csharp
public sealed class GraphGroup

A titled rectangle that some nodes are inside.

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

Remarks

Membership is a list rather than a hit test against the rectangle. A group whose contents were "whatever is inside it right now" would gain and lose members as nodes were dragged past, which makes "move this group" a gesture whose effect depends on what happened to be overlapping at the time.

Fields and properties (4)

  • public string Title

    Its label.

  • public IReadOnlyList<GraphNode> Nodes

    What is in it.

  • public float Padding

    How much room is left around the nodes inside it.

  • public float HeaderHeight

    How much room the title bar takes above them.

Methods (3)

  • public GraphGroup(string title = "")

    Creates a group.

  • public void Add(GraphNode node)

    Takes a node into the group, out of whatever group it was in.

  • public bool Remove(GraphNode node)

    Takes a node out.

Used by (8)

  • GraphNodeVixen.Ui.Controls.Advanced
  • NodeCanvasVixen.Ui.Controls.Advanced
  • NodeCanvasTestsVixen.Ui.Controls.Advanced.Tests
  • NodeGraphVixen.Ui.Controls.Advanced
  • NodeGraphTestsVixen.Ui.Controls.Advanced.Tests
  • NodeGroupViewVixen.Ui.Controls.Advanced
  • NodeGraphViewVixen.Editor.NodeGraph
  • ViewTestsVixen.Editor.NodeGraph.Tests