1

我想在 mxGraph 中启用顶点(对象)旋转,谁能告诉我该怎么做?我不想通过设置 'rotation=45 ,rotation=-90' 等来做到这一点。我希望用户能够在设计器上旋转对象。

谢谢

4

1 回答 1

4

我找到了解决方案,只需在您的 javascript 文件中添加这一行。

mxVertexHandler.prototype.rotationEnabled = true;
于 2014-09-09T11:49:12.170 回答