SubGraph two lables

Hi,

I am using Subgraph object. Currently i can have one label and i can position any where.

But i want to show two labels one on top and one at the bottom.

How can i achieve this task?

Regards,

Venkatesh

Look at how LimitingSubGraph adds the 2 resize squares in NodeLinkDemo. You’ll probably also want some LayoutChildren code to position the label relative to the subgraph too.

Actually, I think I’d do an extra label in an override of LayoutLabel. See CustomSubGraph in SubGraphApp for code & comments.

Hello Jake,

I tried add another GoText and position in layout children but it is not working.

https://docs.google.com/file/d/0B8Yj5QznLCpJSXZzMWhDalR1NE0/edit#

Please use file\download menu to download the code from above link

I just changed LimitingSubgraph.vb and added to this small application.

Can you look what i am doing wrong.

When i collapse i want show the simResLabel to be on top.

Another error i am getting is when ever i collapse and expand the subgraph it height is increasing every time.

Can you please look into this sample code and tell me what i am doing wrong.

May be the end of the week… my plate is full for today and lots of people out
(including me after today) due to the 4th of July this week.

I’ve emailed you a modified version of the LimitingSubGraph.vb.

When i collapse i want show the simResLabel to be on top.
Another error i am getting is when ever i collapse and expand the subgraph it height is increasing every time.
Can you please look into this sample code and tell me what i am doing wrong.
What's your mean?could you explain it?
_________________________________________________________________
http://www.ledlightssell.com/led-bulbs-c-201.html
led bulb lights