Below is the TypeScript class implementation for managing a flat, normalized state architecture for a visual flow builder. It demonstrates how to initialize the normalized dictionaries and perform operations in
// 1. Define Entity Interfaces / Classes
class FlowNode {
id: string;
label: string;
type: string;