2 messages in org.netbeans.graph.usersRe: Webstart example reimplementation...
FromSent OnAttachments
Holger BrandlMay 21, 2007 10:46 pm 
David KasparMay 22, 2007 12:48 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Webstart example reimplementation using graph v2?Actions...
From:Holger Brandl (holg@gmx.net)
Date:May 21, 2007 10:46:14 pm
List:org.netbeans.graph.users

Hi David,

thank you for your help so far.

If you like VMD style, then you can write your own VMDGraphScene - you even do not have use this class at all. You can use just the VMDNodeWidget, ... classes and create your own GraphPinScene where you can use them.

I've tried to implement my own scene based on GraphPinScene. Unfortunately I was not able to add these nice rectangular anchor ports (from the vmd-demos) to a given node.

Although there are methods to attach such anchor ports to a scene (cf GraphPinScene.attachEdgeSourceAnchor()), this seems only possible when connecting two nodes. Is it possible to add such an rectangular anchor port directly as a child of an already added node? Or would it be necessary to define an own node-type (which would define to be just a rectangular anchor port)?

Which class defines these rectangular anchors?

Best regards, Holger