Constructors

Properties

Accessors

Methods

Constructors

Properties

links: Record<string, unknown> = {}
uid: number

Accessors

Methods

  • Returns {
        class_type: void;
        inputs: Record<string, unknown>;
    }

    • class_type: void
    • inputs: Record<string, unknown>
  • Mostly for internal use. Please use the workflow compile method instead.

    Parameters

    • ctx: Map<number, Node>
    • client_id: string

    Returns {
        client_id: string;
        extra_data?: {
            extra_pnginfo: {
                workflow: {
                    config: {};
                    extra: {};
                    groups: {}[];
                    last_link_id?: number;
                    last_node_id?: number;
                    links: [number, number, number, number, number, string][];
                    nodes: {
                        id: number;
                        inputs: {}[];
                        outputs: {
                            links: number[];
                            name: string;
                            type: string;
                        }[];
                        type: string;
                    }[];
                    version: number;
                };
            };
        };
        prompt: {};
    }

    • client_id: string
    • Optionalextra_data?: {
          extra_pnginfo: {
              workflow: {
                  config: {};
                  extra: {};
                  groups: {}[];
                  last_link_id?: number;
                  last_node_id?: number;
                  links: [number, number, number, number, number, string][];
                  nodes: {
                      id: number;
                      inputs: {}[];
                      outputs: {
                          links: number[];
                          name: string;
                          type: string;
                      }[];
                      type: string;
                  }[];
                  version: number;
              };
          };
      }
      • extra_pnginfo: {
            workflow: {
                config: {};
                extra: {};
                groups: {}[];
                last_link_id?: number;
                last_node_id?: number;
                links: [number, number, number, number, number, string][];
                nodes: {
                    id: number;
                    inputs: {}[];
                    outputs: {
                        links: number[];
                        name: string;
                        type: string;
                    }[];
                    type: string;
                }[];
                version: number;
            };
        }
        • workflow: {
              config: {};
              extra: {};
              groups: {}[];
              last_link_id?: number;
              last_node_id?: number;
              links: [number, number, number, number, number, string][];
              nodes: {
                  id: number;
                  inputs: {}[];
                  outputs: {
                      links: number[];
                      name: string;
                      type: string;
                  }[];
                  type: string;
              }[];
              version: number;
          }
          • config: {}
            • extra: {}
              • groups: {}[]
              • Optionallast_link_id?: number
              • Optionallast_node_id?: number
              • links: [number, number, number, number, number, string][]
              • nodes: {
                    id: number;
                    inputs: {}[];
                    outputs: {
                        links: number[];
                        name: string;
                        type: string;
                    }[];
                    type: string;
                }[]
              • version: number
        • prompt: {}