-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Replies: 1 comment · 6 replies
-
https://airflow.apache.org/docs/apache-airflow/stable/cli-and-env-variables-ref.html#show -- is this useful? |
Beta Was this translation helpful? Give feedback.
All reactions
-
As far as I can tell, not really. I want to reuse the rendering engine for other graphs (not Airflow related at all). |
Beta Was this translation helpful? Give feedback.
All reactions
-
yeah the current rendering happens in JS here - airflow/airflow/www/templates/airflow/graph.html Lines 126 to 751 in 0286121
|
Beta Was this translation helpful? Give feedback.
All reactions
-
How does the input of this rendering look like? Where can I find its sample? Furthermore, can you please point me to the part where the graph's data is loaded? |
Beta Was this translation helpful? Give feedback.
All reactions
-
It is passed on from Lines 2012 to 2101 in f180fa1
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks a lot! I'm afraid it is way more complex than I expected and I don't know how to reuse it :( |
Beta Was this translation helpful? Give feedback.
-
I would like to reuse the graph rendering Airflow is using. I tried to dig into the code a little, but so far with limited success; it seems like the rendering happens outside of Python, if I get it right and I'm getting a little lost there.
I would like to specify the graph that I have (with
networkx
maybe) and then render it using the "engine" used by Airflow. Ideas how to go about this would be very welcomed! Thanks!Beta Was this translation helpful? Give feedback.
All reactions