* Parse and assign operator parameters.
(spec)
| 146460 | /** |
| 146461 | * Parse and assign operator parameters. |
| 146462 | */ function parseOperatorParameters(spec) { |
| 146463 | const ctx = this; |
| 146464 | if (spec.params) { |
| 146465 | const op = ctx.get(spec.id); |
| 146466 | if (!op) (0, _vegaUtil.error)("Invalid operator id: " + spec.id); |
| 146467 | ctx.dataflow.connect(op, op.parameters(ctx.parseParameters(spec.params), spec.react, spec.initonly)); |
| 146468 | } |
| 146469 | } |
| 146470 | /** |
| 146471 | * Parse a set of operator parameters. |
| 146472 | */ function parseParameters(spec, params) { |