Drawflow
Drawflow copied to clipboard
Mirroring drawflow move to minimap move programmatically
I am successfully manipulating the drawflow canvas so it moves programmatically with smooth animation so the node is centred in the screen, however the mini map stays static. How can i get the mini map to move with minimum code.
The functionality i want to replicate is when i click drag drawflow and mini drawflow move in synch.
I want to replicate this when i trigger a function to move node to centre in drawflow (which works) but have the minimap synch with drawflow canvas as it moves too.
Any easy thoughts how i can do this?
Reply function to minimap
Could you expand, its not clear to me, a reply function where (in the drawflow.js module?) and what?
Can you provide a codepen with the code?
The function that you have created to move the node in drawflow, you have to replicate it for the minimap.
Minimap only replicates some events.
Hi Jero,
Will do.
Hope your well
K
From: Jero Soler @.***>
Can you provide a codepen with the code?
The function that you have created to move the node in drawflow, you have to replicate it for the minimap.
Minimap only replicates some events.
— Reply to this email directly, view it on GitHubhttps://github.com/jerosoler/Drawflow/issues/754#issuecomment-1682135131, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AM5CES7T7JIXWPJYUH4AHIDXVX7IJANCNFSM6AAAAAA3SRLCSA. You are receiving this because you authored the thread.Message ID: @.@.>>