providerplaneai
    Preparing search index...

    Exports workflow definitions into visualization-friendly formats.

    Exported workflows include node ids and dependency edges only. Execution logic, retry policies, and node metadata are intentionally omitted from export output.

    Index

    Constructors

    Methods

    • Exports workflow and persists the result to disk.

      Parameters

      • workflow: Workflow<unknown>

        Workflow to export

      • format: "json" | "mermaid" | "dot" | "d3"

        Target export format

      • filePath: string

        Destination file path

      • autoCreateDir: boolean = true

        Whether to automatically create the parent directory if it doesn't exist (default: true)

      Returns Promise<void>

      Promise resolved when file write completes

      When directory creation or file write fails