Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 mxGraph 中启用顶点(对象)旋转,谁能告诉我该怎么做?我不想通过设置 'rotation=45 ,rotation=-90' 等来做到这一点。我希望用户能够在设计器上旋转对象。
谢谢
我找到了解决方案,只需在您的 javascript 文件中添加这一行。
mxVertexHandler.prototype.rotationEnabled = true;