Highlighting a path

9 views
Skip to first unread message

Christian Schafmeister

unread,
Oct 19, 2009, 11:20:35 AM10/19/09
to BirdEye
Hi!

My graph is hierarchical and I want to ask if it is possible to
highlight one specific path from node A to B (node B is not a direct
child of A. It's a few stages deeper in the hierarchical tree). Is it
possible to collapse all other subtrees so that only the edges which
are part of the path from A to B are expanded? I've got few space for
the graph and want to avoid that the displayed graph gets to big.

Sorry for my bad english :-) I hope that someone can give me a hint
for that problem.

Greeting
Christian

Jiannis

unread,
Oct 20, 2009, 4:07:36 AM10/20/09
to flexviz...@googlegroups.com
Hi, i won't give a full answer, but in order to solve your issue you have to answer two critical questions:
1. In your graph is it always a single path between two nodes or not? In case the answer is no you have to find out under what criteria the application will select one path over another each time. Complicated!

2. The graph, ravis graph, as it is designed, depends a lot on weather it is undirected or directed. What is yours? The walking through the graph is different in each case.


2009/10/19 Christian Schafmeister <christian.s...@googlemail.com>

Christian Schafmeister

unread,
Oct 20, 2009, 6:32:11 AM10/20/09
to BirdEye
Hi!

First of all thanks for your answer.
My graph is directed and I know the exact path which I want to
highlight (including all subpathes and nodes). Perhaps this
information helps for my previous question.

Greetings
Christian

On 20 Okt., 10:07, Jiannis <igiov...@gmail.com> wrote:
> Hi, i won't give a full answer, but in order to solve your issue you have to
> answer two critical questions:1. In your graph is it always a single path
> between two nodes or not? In case the answer is no you have to find out
> under what criteria the application will select one path over another each
> time. Complicated!
>
> 2. The graph, ravis graph, as it is designed, depends a lot on weather it is
> undirected or directed. What is yours? The walking through the graph is
> different in each case.
>
> 2009/10/19 Christian Schafmeister <christian.schafmeis...@googlemail.com>

Jiannis

unread,
Oct 20, 2009, 7:24:03 AM10/20/09
to flexviz...@googlegroups.com
You must apply a GlowFilter effect to both nodes and edges that are part of the path when, I suppose, a mouseEvent happens.(eg when you mouse click the node which is on the one side of the path).
Yes, you can collapse (make invisible) all other nodes and edges you dont want to appear at the same time the above mouseEvent happens. You must read alot the VisualGraph.as Class. The most of what you are looking for is in functions that exist in this Class plus some new will add.

Yiannis

2009/10/20 Christian Schafmeister <christian.s...@googlemail.com>

Christian Schafmeister

unread,
Oct 20, 2009, 9:07:34 AM10/20/09
to BirdEye
Thanks alot for your answers!

Greetings
Christian

On 20 Okt., 13:24, Jiannis <igiov...@gmail.com> wrote:
> You must apply a GlowFilter effect to both nodes and edges that are part of
> the path when, I suppose, a mouseEvent happens.(eg when you mouse click the
> node which is on the one side of the path).Yes, you can collapse (make
> invisible) all other nodes and edges you dont want to appear at the same
> time the above mouseEvent happens. You must read alot the VisualGraph.as
> Class. The most of what you are looking for is in functions that exist in
> this Class plus some new will add.
>
> Yiannis
>
> 2009/10/20 Christian Schafmeister <christian.schafmeis...@googlemail.com>

Sharada Patil

unread,
Nov 1, 2009, 1:17:48 AM11/1/09
to BirdEye
Hi

Can you please explain further on how this can be coded? I am a newbie
to Birdeye ravis and the explanation was not clear. My graph is not
hierarchical and its a centralized graph.. On double clicking a node ,
I would like to high light the node, the other nodes that are
connected to it and hte edges that connect them. Please guide me on
how his can be done.

Thank you
Sharada

On Oct 20, 9:07 am, Christian Schafmeister
Reply all
Reply to author
Forward
0 new messages