feat: [US-060] - Edge condition variable dropdown

Replace the variableName text input in edge conditions with a
Combobox-based variable selector. Adds ConditionEditor modal
that opens on edge click, with type-aware operators (comparison
for numeric, == and != for string/boolean) and type-adaptive
value inputs (number, text, or boolean toggle).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Gustavo Henrique Santos Souza de Miranda
2026-01-23 10:30:42 -03:00
co-authored by Claude Opus 4.5
parent 30aebe4079
commit b4b9f8cec9
3 changed files with 361 additions and 3 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ export type Condition = {
variableName: string;
variableId?: string;
operator: '>' | '<' | '==' | '>=' | '<=' | '!=';
value: number;
value: number | string | boolean;
};
// FlowchartEdge type: represents connections between nodes