import type { Activity } from "./Activity"; import type { Step } from "./Step"; /** Defines a transition. */ export interface Transition extends Activity { /** Indicates the branch of that the transition participates in. */ branch?: string; /** Indicates the precedence for this transition. */ rank?: number; /** Indicates the source of this transition (what was previous). */ source?: Step; /** Indicates the type of connector for the source on a design surface. */ sourceConnector?: string; /** Indicates the target of this transition (what is next). */ target?: Step; /** Indicates the type of connector for the target on a design surface. */ targetConnector?: string; }