【问题标题】:Enabling vertex rotation in MxGraph在 MxGraph 中启用顶点旋转
【发布时间】:2014-09-09 11:18:59
【问题描述】:

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

谢谢

【问题讨论】:

    标签: javascript rotation draw mxgraph


    【解决方案1】:

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

    mxVertexHandler.prototype.rotationEnabled = true;
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-05-16
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多