jhipster / jdl-studio

JDL Studio is an online JHipster Domain Language visual editor
https://start.jhipster.tech/jdl-studio/
Apache License 2.0
405 stars 114 forks source link

mouseUp on a graphical version of an entity should scroll to the same in the JDL #58

Closed windbender closed 4 years ago

windbender commented 5 years ago

Basically this would be a way to find the "source" for a particular entity by clicking in the graphical view.

deepu105 commented 5 years ago

I have no time to implement this. If you are willing to do it I'll be happy to merge it

windbender commented 5 years ago

Yep, a brief view of the code indicates it's using canvas for drawing stuff. Which makes click detection a whole project in and of itself. I'm not sure if there is an equivalent library which uses SVG, but that would make click detection not nearly so difficult.

deepu105 commented 5 years ago

The library used here (nomnoml) supports SVG as well, I never had time to switch to that as well

Thanks & Regards, Deepu

On Wed, Nov 7, 2018 at 3:55 PM windbender notifications@github.com wrote:

Yep, a brief view of the code indicates it's using canvas for drawing stuff. Which makes click detection a whole project in and of itself. I'm not sure if there is an equivalent library which uses SVG, but that would make click detection not nearly so difficult.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jhipster/jdl-studio/issues/58#issuecomment-436649994, or mute the thread https://github.com/notifications/unsubscribe-auth/ABDlFylCQgBL6AmFYeAUSdzA3SE2BEL2ks5usvRWgaJpZM4YRhII .

deepu105 commented 4 years ago

will not implement