Type Alias InputOpts

InputOpts: {
    init?: number;
    name?: string;
    optimized?: boolean;
}

Options for a new input.

  • name: The name of the input. If provided, the value can be retrieved from each diagram using the input with DiagramBuilder.prototype.getInput.
  • init: What to initialize the input to. Defaults to random sampling.
  • optimized: Whether the input should be optimized.