This is an automated email from the ASF dual-hosted git repository.

bbovenzi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new e0ed7950aa4 fix(ui): register trigger and sensor graph node types 
(#65167)
e0ed7950aa4 is described below

commit e0ed7950aa47cbb850bcfa93990eb24345068706
Author: Windro.xd <[email protected]>
AuthorDate: Wed Apr 15 19:47:57 2026 +0530

    fix(ui): register trigger and sensor graph node types (#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 <[email protected]>
---
 airflow-core/src/airflow/ui/src/components/Graph/graphTypes.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/airflow-core/src/airflow/ui/src/components/Graph/graphTypes.ts 
b/airflow-core/src/airflow/ui/src/components/Graph/graphTypes.ts
index 280bc520d79..c008b5dfc2e 100644
--- a/airflow-core/src/airflow/ui/src/components/Graph/graphTypes.ts
+++ b/airflow-core/src/airflow/ui/src/components/Graph/graphTypes.ts
@@ -33,7 +33,9 @@ export const nodeTypes = {
   "asset-uri-ref": DefaultNode,
   dag: DagNode,
   join: JoinNode,
+  sensor: DefaultNode,
   task: TaskNode,
+  trigger: DefaultNode,
 };
 
 export const edgeTypes = { custom: Edge };

Reply via email to