Creates a ScopeFactory that produces TypedScope instances.
flowChart<T>() auto-embeds this factory at build time — you rarely need
to call this directly. Use it only when constructing a custom executor with
a pre-built chart that was NOT created with flowChart<T>().
const factory = createTypedScopeFactory();
new FlowChartExecutor(chart, factory)
// or: new FlowChartExecutor(chart, { scopeFactory: factory })
Creates a ScopeFactory that produces TypedScope instances.
flowChart<T>()auto-embeds this factory at build time — you rarely need to call this directly. Use it only when constructing a custom executor with a pre-built chart that was NOT created withflowChart<T>().const factory = createTypedScopeFactory();
new FlowChartExecutor(chart, factory)
// or: new FlowChartExecutor(chart, { scopeFactory: factory })