im drawing a vertex in my graph

Object v1 = graph.insertVertex(parent, null, "aa", 10, 10, 5,30,"shape=ellipse;fillColor=#FF6666");

and i want to set his style and his name , any answer will be appreciate

asked 07 May '12, 17:56

Wassim%20Sboui's gravatar image

Wassim Sboui
accept rate: 0%

Check out the documentation here:

There are various ways, e. g. set style and label as parameter in the insertVertex method, setStyle(cell, style), overriding toString() in your value object, etc.


answered 08 May '12, 01:26

Lofi's gravatar image

accept rate: 37%

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: 07 May '12, 17:56

Seen: 2,140 times

Last updated: 08 May '12, 01:26