Blazor.Diagrams icon indicating copy to clipboard operation
Blazor.Diagrams copied to clipboard

Moveable & scalable grid

Open ud-waffle opened this issue 4 years ago • 4 comments

Hi, is there any way to implement a Moveable & scalable grid ( w/ pan and zoom respectively)? The static approach done in the demo can be a little visually misleading (example using litegraph.js) https://tamats.com/projects/litegraph/editor/

ud-waffle avatar Jun 18 '21 09:06 ud-waffle

Hello, I'm not a fan of it either. I'll see if I can make it better and get back to you.

zHaytam avatar Jun 18 '21 10:06 zHaytam

May I already have a solution to this. Have a look at that branch of my demo solution...

The grid is automatically enabled and can be used in line and point mode via the respective button on the top of the page.

xevoryn avatar Jun 22 '21 12:06 xevoryn

Thank you, got it working with your approach + some tweaks!

ud-waffle avatar Jun 25 '21 08:06 ud-waffle

Hello, thanks for helping @xevoryn ! Can we leave this open please? I think I still need to add this to the library directly, and I will do it once once my sickness is gone.

Thank you!

zHaytam avatar Jun 25 '21 12:06 zHaytam