title: How can I add custom attribute in mxCell tag of mxgraph?
body: <p>How can I add custom attribute in mxCell tag of mxgraph? I want to add value2=&quot;customValue&quot;</p>
  <pre><code>&lt;mxGraphModel dx=&quot;872&quot; dy=&quot;535&quot; grid=&quot;1&quot; gridSize=&quot;10&quot; guides=&quot;1&quot; tooltips=&quot;1&quot; connect=&quot;1&quot; arrows=&quot;1&quot; fold=&quot;1&quot; page=&quot;1&quot; pageScale=&quot;1&quot; pageWidth=&quot;850&quot; pageHeight=&quot;1100&quot; background=&quot;#ffffff&quot;&gt;
    &lt;root&gt;
      &lt;mxCell id=&quot;0&quot;/&gt;
      &lt;mxCell id=&quot;1&quot; parent=&quot;0&quot;/&gt;
  
      &lt;mxCell id=&quot;2&quot; value=&quot;wfState_1&quot; value2=&quot;customValue&quot; style=&quot;strokeColor:red&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;
        &lt;mxGeometry x=&quot;50&quot; y=&quot;110&quot; width=&quot;120&quot; height=&quot;70&quot; as=&quot;geometry&quot;/&gt;
      &lt;/mxCell&gt;
    &lt;/root&gt;
  &lt;/mxGraphModel&gt;
  </code></pre>