logo       

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

java.netbeans.modules.graph.user

Subject: Re: Webstart example reimplementation using graph v2?


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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe-Hi7mZnf3vbIkiw2pgZvNdR2eb7JE58TQ@xxxxxxxxxxxxxxxx
> For additional commands, e-mail:
> users-help-Hi7mZnf3vbIkiw2pgZvNdR2eb7JE58TQ@xxxxxxxxxxxxxxxx
>


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

News | FAQ | advertise