for example,I have got a mxCell named A,I want to add more information for A,just like A has an attribute "aaa" whose value is "bbb".what should I do? I used A.setAttribute("aaa","bbb") , but when A.getAttribute("aaa"), null is given. So how to bind a new attribute to A ? 3q

asked 20 Jun '12, 08:56

coding%20girl's gravatar image

coding girl
accept rate: 0%


answered 20 Jun '12, 09:21

Gaudenz's gravatar image

accept rate: 39%

I can't get it.I can't get how you realize it. Actually I'd like to add a description for every cell,but the description is invisible.Whenever I get the cell, I can get the description string.Using jgraph for java, by the way.

(20 Jun '12, 20:05) coding girl

For Java see com/mxgraph/examples/swing/

(21 Jun '12, 01:24) Gaudenz

If you're using the Java version tag your question as described on the right of this forum, the bit that says "Please remember to tag your posting with the product ('jgraphx', 'mxgraph' or 'diagramly')". And generally stop wasting our time, stop being so stupid and being utterly lazy.

(21 Jun '12, 02:50) David
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 20 Jun '12, 08:56

Seen: 1,818 times

Last updated: 21 Jun '12, 02:50