Skip to content
Discussion options

You must be logged in to vote

Hi,

You would need to implement an operation (e.g. RotateOperation) to modify the state of your diagram, and trigger this operation when the user interacts with the Rotate handle. The server needs to store the current rotation, and update it when it receives the RotateOperation.

On the client, this can be implemented using an SVG Transform property on the rotated node (You need to provide and customize your own RectangularNodeView for this - or any other similar view that you use to render your node). If your node contains children, the children will be rotated as well. Note that this will likely cause issues with existing user-actions, such as Move (ChangeBounds), because the coordinate …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tortmayr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants