Scale some nodes disproportionally

Dear all,

we are developing a kind of floor plan app with GoJs.
The app allows the user to place items on the plan. These items may be small compared to the dimension of the whole plan.
When the user is zooming out to see the whole plan we want to scale theese items to a lesser extent than the rest of the diagram
in order to have them still pickable.

A bit more formally: Is there a way to scale some items disproportionally when the diagram is scaled?

Thanks and regards
Christoph

Yes, you can implement a “ViewportBoundsChanged” DiagramEvent listener to change the GraphObject.scale of those Parts.

Something similar is done in the modified Kitten Monitor sample: Kitten Monitor

Wow, Walter. That was quick.

And it works like a charm. Thanks a lot

Regards
Christoph