

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
4 messages in org.netbeans.graph.usersRe: Webstart example reimplementation...| From | Sent On | Attachments |
|---|---|---|
| Holger Brandl | May 9, 2007 6:39 am | |
| David Kaspar | May 9, 2007 7:11 pm | |
| Holger Brandl | May 10, 2007 12:56 am | |
| David Kaspar | May 10, 2007 8:48 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread 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: | David Kaspar (Davi...@Sun.COM) | |
| Date: | May 10, 2007 8:48:11 am | |
| List: | org.netbeans.graph.users | |
Hi Holger,
Yes, the GraphLib has this features since it was targeted to only a specific visualization of graph-oriented model and the demo was shown most of the built-in features. The model had these abilities by default. The VisualLibrary is abstract in this way and therefore does not contain any specific look&feel (except VMD style) and model. For the future, we are of course to extend the set of build-in styles and models but it would take some time.
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.
Anyway such the webstart demo could be doable except that it will not longer contain just 2 classes. Instead it would have to contains around 10 classes with limited scope and size. It is mainly because the library does not contains a model (node, pin, edge classes) and because the library does not contains even similar graphics that renders the scene.
Regarding, David
P.S.: I will add references to your comments into the issue.
Holger Brandl wrote:
Hi David,
Anyway I have entered issue #103607 ( http://www.netbeans.org/issues/show_bug.cgi?id=103607 ) for it.
Thanks.
The original graphics from Graph Library 1.0 is not included in the Visual Library. Therefore would you like to have exactly the same visualization? Or could it be different? What is the most important in the demo for you?
What I mainly liked about the old WebStart-demo was the integration of so many common graph-lib features within just two classes.
The main problem for me, when developing software using the new graph-lib v2, are missing examples for port-configuration. The old demo seemed to be more advanced in this field than the most current demo-programs (remember these nice rectangular ports of different types (single-link, target-only), configurable port positions, these cool hover effects when hovering the ports)).
The only examples which go in this direction are the VmdScene-ones. But because they rely on Strings for Nodes, Pins and Links, I would prefer another example using a GraphPinScene directly.
Such an example using rectangular, named ports of different types ( like source-only, single-link, etc.) including configurable port-positions would be a real help for me. Whats most important for me is ability to name and layout the ports like in the old WebsStart-Demo and the possibility to create/remove links between them interactively.
Best regards, Holger







