duanhanzi8328 2019-07-23 05:58
浏览 129

mxGraph - 保留原始形状颜色

Scenario:

  1. Create Diagram:

mxGrpah editor original color After completed the drawing of diagram,I am getting mxGrpah XML nodes from graph and storing in to the database.

  1. Edit Diagram:

User can view/edit the existing diagram, here I'm retrieving all XML nodes from database, combined and binding to the graph. While loading the page all the shape colors are showing in to blue

mxGrpah editor color changed

Question:

I have not change any style attributes, also not sure about why it's displaying in blue color. Is there any workaround to retain the original color?

  • 写回答

0条回答 默认 最新

      编辑
      预览

      报告相同问题?

      手机看
      程序员都在用的中文IT技术交流社区

      程序员都在用的中文IT技术交流社区

      专业的中文 IT 技术社区,与千万技术人共成长

      专业的中文 IT 技术社区,与千万技术人共成长

      关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

      关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

      客服 返回
      顶部