Repository navigation
Replies: 1 comment · 6 replies
|
https://airflow.apache.org/docs/apache-airflow/stable/cli-and-env-variables-ref.html#show -- is this useful? |
All reactions
6 replies
|
As far as I can tell, not really. I want to reuse the rendering engine for other graphs (not Airflow related at all). |
All reactions
|
yeah the current rendering happens in JS here - airflow/airflow/www/templates/airflow/graph.html Lines 126 to 751 in 0286121
|
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? |
All reactions
|
It is passed on from Lines 2012 to 2101 in f180fa1
|
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 :( |
All reactions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
networkxmaybe) and then render it using the "engine" used by Airflow. Ideas how to go about this would be very welcomed! Thanks!All reactions