logo       

Re: Webstart example reimplementation using graph v2?: msg#00027

java.netbeans.modules.graph.user

Subject: Re: Webstart example reimplementation using graph v2?

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise