aveek22 commented on issue #33554:
URL: https://github.com/apache/airflow/issues/33554#issuecomment-2576155387

   Hi @RNHTTR, @potiuk,
   
   I started working on this PR after my holidays only to realize that the 
generated image is already available in an [SVG 
format](https://airflow.apache.org/docs/apache-airflow/stable/_images/airflow_erd.svg)
 (you see that when you **right-click** and open the image in a new tab). 
   
   I checked how the diagram is generated and it's quite straightforward. On 
every pre-commit, we have a function 
[update_er_diagram.py](https://github.com/apache/airflow/blob/main/scripts/ci/pre_commit/update_er_diagram.py)
 that calls 
[run_prepare_er_diagram.py](https://github.com/apache/airflow/blob/main/scripts/in_container/run_prepare_er_diagram.py)
 and is responsible for generating the diagram. Under the hood, it uses a 
library [eralchemy2](https://github.com/maurerle/eralchemy2) for rendering the 
diagram.
   
   Now, am I correct in understanding that this is rather a frontend fix and 
does not require any work with plantuml?
   
   PS - The [eralchemy2](https://github.com/maurerle/eralchemy2) library is 
deprecated, there have been no updates in the last 6 months.


-- 
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]

Reply via email to