Vixen
c7401864
csharp
public sealed class EventChainProjection

Turns an event chain into the graph the canvas draws.

Read the guide page for this →

Remarks

A projection rather than the document, for the reason EventChain records: the canvas refuses a cycle and gives an input one wire, and an event chain has both. So the spanning walk's edges become wires and everything else becomes a badge on the box it left — visible, labelled, and not silently missing.

Each box carries its DynamicEventTemplate in Tag, which is how a click on a box becomes a selection in the catalog.

Fields and properties (5)

  • public float ColumnWidth

    How far apart the columns are.

  • public float RowHeight

    How far apart the rows are.

  • public NodeGraph Graph

    What the canvas shows.

  • public EventChain? Chain

    The chain the last Project drew.

  • public int Deferred

    How many edges were drawn as badges rather than as wires.

Methods (4)

Used by (1)

  • EventChainProjectionTestsVixen.Editor.Gameplay.Quests.Tests