Hi i have added an image inside vertex in the below format :

\n

var v4 = graph.insertVertex(parent, null, 'username', 25, 175, 100, 30, 'image=editors/images/e1-h1.png;imageWidth=50;imageHeight=50;fillColor=yellow');

\n

Its working fine, but i want to add one more image inside it, how do i do it.\nimage can be given in parameters too, and i request for multiple image placing inside vertex. please help...

asked 07 Feb, 05:27

hansie's gravatar image

hansie
113
accept rate: 0%


I think you have to nest the cells, and then for each sub-cell you can set different images.

link

answered 07 Feb, 23:30

Saju%20Chithran's gravatar image

Saju Chithran
707
accept rate: 20%

Thanks for the reply, can you please elaborate a bit how to do this with an example as i am newbie to java...

(07 Feb, 23:50) hansie

I'm confused, you're a newbie to Java, but your example is in JavaScript. Which are you using?

(08 Feb, 03:57) David ♦♦

Sorry david, javascript itself... ill move to java after wards.\nCan you please show an example how do i do this nested structure\nif i do it, i want to add more and more images inside a single vertex. Please help

(08 Feb, 04:04) hansie
Your answer
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:

×313

Asked: 07 Feb, 05:27

Seen: 182 times

Last updated: 08 Feb, 04:04

powered by BitNami OSQA