django-schema-graph icon indicating copy to clipboard operation
django-schema-graph copied to clipboard

Inconvenient display

Open J4CKVVH173 opened this issue 4 years ago • 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. изображение

J4CKVVH173 avatar May 02 '20 16:05 J4CKVVH173

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.

meshy avatar May 14 '20 13:05 meshy

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

J4CKVVH173 avatar May 14 '20 15:05 J4CKVVH173