jgraph / mxgraph

mxGraph is a fully client side JavaScript diagramming library
Other
6.82k stars 2.06k forks source link

the direction of rotation is incorrect default #468

Closed hungtcs closed 4 years ago

hungtcs commented 4 years ago

The default rotation behavior is incorrect in some examples (for instances Stencils and DiagramEditor),but in Graph Editor, this problem seems to be solved.

hungtcs commented 4 years ago

I found it here, if overwite here, the rotation becomes correct

https://github.com/jgraph/mxgraph/blob/693c67a81ed33e0fcffc761c242e9eaafcaeb95a/javascript/examples/grapheditor/www/js/Graph.js#L9777-L9784

alderg commented 4 years ago

Thanks for the report. This will be fixed in the next release.