meshy/django-schema-graph

Inconvenient display

J4CKVVH173 opened this issue · 2 comments

I have the first main modal, the second base model and many Subclasses from the second model. Subclasses have ForeinKeys to the first model and they are displayed in a very confusing way.
изображение

meshy commented

Thank you for taking the time to create an issue.

Drawing graphs is a very hard problem, so I've been using an upstream library to display the graphs. In this case, the physics-based approach hasn't worked out very well for you. Unfortunately, it's the best solution currently available to me.

I think it would make sense for there to be an option to turn the physics off, so that you can re-arrange the graph as you like, once the page has loaded. There is also the option of introducing another layout mechanism, but it didn't work out very well in my tests, so I'm hesitant to add it.

I've not been able to put any time into this project recently, but I'll be thinking about ways to address this issue once I get back to it.

Thank you for your reply. I guess the solution with turning physics off is the best because allowed all people to change graph as they want