Skip to content

Commit 1ad66a2

Browse files
windro-xddKripa Dev
authored andcommitted
fix(ui): register trigger and sensor graph node types (apache#65167)
* fix(ui): register trigger and sensor graph node types Adds missing Graph node type mappings for trigger/sensor and includes a focused unit test to prevent regressions where dependency graph rendering breaks for those node kinds. * docs(ui): add graph screenshot showing sensor and trigger nodes * chore(ui): keep PR scoped to graphTypes.ts only --------- Co-authored-by: Kripa Dev <dev@kripa-car-care.local>
1 parent b60482d commit 1ad66a2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

airflow-core/src/airflow/ui/src/components/Graph/graphTypes.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ export const nodeTypes = {
3333
"asset-uri-ref": DefaultNode,
3434
dag: DagNode,
3535
join: JoinNode,
36+
sensor: DefaultNode,
3637
task: TaskNode,
38+
trigger: DefaultNode,
3739
};
3840

3941
export const edgeTypes = { custom: Edge };

0 commit comments

Comments
 (0)