Coral 0.2.17 candidate API
    Preparing search index...

    Function serialize

    • Serialize React Flow nodes and edges to a CoralDocument

      Parameters

      • nodes: CoralNode[]

        React Flow nodes

      • edges: CoralEdge[]

        React Flow edges

      • options: SerializeOptions

        Serialization options

      • OptionalwaypointMap: Map<string, { id: string; type: string; x: number; y: number }[]>

        Optional map of edge ID to waypoints (CORAL-REQ-015)

      Returns CoralDocument

      CoralDocument