bbovenzi commented on issue #42367:
URL: https://github.com/apache/airflow/issues/42367#issuecomment-2486746473
Updated types I am using on the frontend mockups:
```
export type Edge = {
is_setup_teardown?: boolean;
label?: string;
source_id: string;
target_id: string;
};
export type Node = {
children?: Array<Node>;
id: string;
is_mapped?: boolean;
label: string;
tooltip?: string;
type:
| "asset_alias"
| "asset_condition"
| "asset"
| "dag"
| "join"
| "sensor"
| "setup_task"
| "takedown_task"
| "task"
| "trigger";
};
export type GraphData = {
arrange: "BT" | "LR" | "RL" | "TB";
edges: Array<Edge>;
nodes: Array<Node>;
};
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]