AutoMovie API
    Preparing search index...

    Interface IAutoMovieScriptNodeBase

    Fields every screenplay tree node shares: its id, the refinement edge to its parent, and the two cross edges.

    validateScriptTree requires non-blank unique ids, exactly one root, which must be the intent, parents that resolve without a cycle and whose kind the child's kind may refine, and temporal and interaction edges that resolve to another node. Only the refinement edge has consumers: the screenplay, the caption sidecar and scriptAncestors walk it. The temporal and interaction edges are checked for resolution and read by nothing else.

    interface IAutoMovieScriptNodeBase {
        id: string;
        interactsWith: string[];
        parent: string | null;
        temporal: string | null;
    }

    Hierarchy (View Summary)

    Index
    id: string

    Non-blank id, unique across the whole tree.

    interactsWith: string[]

    Ids of the nodes this one plays against, such as the opponent's beat in a duel. Each must name another node.

    parent: string | null

    Id of the node this one makes concrete, or null for the single intent root. Feedback on a beat walks this chain upward, so a correction can target the beat, a scene, an act or the intent.

    temporal: string | null

    Id of the node this one follows on the timeline, such as the previous beat, or null when nothing precedes it. It must name another node.