• Produces a reduced version of the given dataflow graph according to the given options.

    Parameters

    • dfg: DataflowGraph
    • options: {
          vertices?: {
              blacklistWithName?: boolean;
              compactFunctions?: boolean;
              keepCd?: boolean;
              keepEnv?: boolean;
              nameRegex?: string;
              tags?: (undefined | VertexType)[];
              [key: string]: unknown;
          };
          [key: string]: unknown;
      }

    Returns DataflowGraph