How can I make free transform incremental steps? #2736
Answered
by
kumilingus
ZalgirisKaunas
asked this question in
Q&A
-
IntroductionDepending on the shape, my different shapes have to change in size in certain px steps. How can add that to free transform most efficiently? I could probably do graph.on('batch:stop', async (evt) and resize cell with Math.round but that I think might affect performance. Steps to reproduceNo response Restrictions & ConstraintsNo response Does your question relate to JointJS or JointJS+. Select both if applicable.JointJS+ |
Beta Was this translation helpful? Give feedback.
Answered by
kumilingus
Aug 13, 2024
Replies: 1 comment 1 reply
-
You can use the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ZalgirisKaunas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the
resizeGrid
option: https://docs.jointjs.com/api/ui/FreeTransform/#resizegrid