Hi,

\n

beginner question: I add a vertex to a JGraph: graph.addVertex("v1").\nThen I change the DefaultGraphCell's name of this vertex on the GUI.

\n

When I now try to edd an edge to the vertex via the DefaultGraphCell, I get an error "no such vertex in graph".\nHow can I get the correct vertex via the DefaultGraphCell's UserObject?

\n

Thanks.

asked 06 Jun '11, 07:25

fr_'s gravatar image

fr_
11
accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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

Tags:

×79
×66

Asked: 06 Jun '11, 07:25

Seen: 1,699 times

Last updated: 06 Jun '11, 07:25