Skip to main content



      Home
Home » Eclipse Projects » GEF » Org Chart/Hierarchical Tree Layout for 2.2
Org Chart/Hierarchical Tree Layout for 2.2 [message #76516] Thu, 24 April 2003 10:02 Go to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Has anyone already implemented or plan to implement an organization chart
layout algorithm for draw2d? This is one of our 2.2 line items (2.2 is many
months out, btw), but we would like to understand the use scenarios, and/or
receive contributions and testing from the community. See the attached
image.



  • Attachment: orgchart.GIF
    (Size: 19.13KB, Downloaded 136 times)
Re: Org Chart/Hierarchical Tree Layout for 2.2 [message #76957 is a reply to message #76516] Sun, 27 April 2003 03:39 Go to previous messageGo to next message
Eclipse UserFriend
Hi
one usage scenario that i know would be useful in my app is layouting the
chart in a similar way to the way a tree is seen in the tree viewer, i.e.,
there is a root, you can either collapse or expand parent nodes, and no
two elements are found in the same vertical location.

Randy Hudson wrote:

> Has anyone already implemented or plan to implement an organization chart
> layout algorithm for draw2d? This is one of our 2.2 line items (2.2 is many
> months out, btw), but we would like to understand the use scenarios, and/or
> receive contributions and testing from the community. See the attached
> image.
Re: Org Chart/Hierarchical Tree Layout for 2.2 [message #77046 is a reply to message #76957] Sun, 27 April 2003 21:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

This can be done already by using a "hozontal" tree with all nodes set to
"hanging" layout style. A test case is in the draw2d.examples project.
But, it sounds like what you want is a Tree widget that let's you paint
whatever you want, correct? I think it would be great if custom
tables/trees/etc used IFigure as the renderering mechanism.

"Yoav Rubin" <yoav@il.ibm.com> wrote in message
news:b8g1fm$nev$1@rogue.oti.com...
> Hi
> one usage scenario that i know would be useful in my app is layouting the
> chart in a similar way to the way a tree is seen in the tree viewer, i.e.,
> there is a root, you can either collapse or expand parent nodes, and no
> two elements are found in the same vertical location.
>
> Randy Hudson wrote:
>
> > Has anyone already implemented or plan to implement an organization
chart
> > layout algorithm for draw2d? This is one of our 2.2 line items (2.2 is
many
> > months out, btw), but we would like to understand the use scenarios,
and/or
> > receive contributions and testing from the community. See the attached
> > image.
>
>
Re: Org Chart/Hierarchical Tree Layout for 2.2 [message #77074 is a reply to message #77046] Mon, 28 April 2003 11:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sy_cheung2.yahoo.com

Randy,

I have integrated the Tree Layout from GVF http://gvf.sourceforge.net/ with
GEF (one of the 2.1 release not the final 2.1 release).

Sam



"Randy Hudson" <none@us.ibm.com> wrote in message
news:b8hvqi$s31$1@rogue.oti.com...
> This can be done already by using a "hozontal" tree with all nodes set to
> "hanging" layout style. A test case is in the draw2d.examples project.
> But, it sounds like what you want is a Tree widget that let's you paint
> whatever you want, correct? I think it would be great if custom
> tables/trees/etc used IFigure as the renderering mechanism.
>
> "Yoav Rubin" <yoav@il.ibm.com> wrote in message
> news:b8g1fm$nev$1@rogue.oti.com...
> > Hi
> > one usage scenario that i know would be useful in my app is layouting
the
> > chart in a similar way to the way a tree is seen in the tree viewer,
i.e.,
> > there is a root, you can either collapse or expand parent nodes, and no
> > two elements are found in the same vertical location.
> >
> > Randy Hudson wrote:
> >
> > > Has anyone already implemented or plan to implement an organization
> chart
> > > layout algorithm for draw2d? This is one of our 2.2 line items (2.2
is
> many
> > > months out, btw), but we would like to understand the use scenarios,
> and/or
> > > receive contributions and testing from the community. See the
attached
> > > image.
> >
> >
>
>
Re: Org Chart/Hierarchical Tree Layout for 2.2 [message #77087 is a reply to message #77074] Mon, 28 April 2003 12:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Does GVF include a directed graph layout?

"Sam Cheung" <sy_cheung2@yahoo.com> wrote in message
news:b8jiqq$547$1@rogue.oti.com...
> Randy,
>
> I have integrated the Tree Layout from GVF http://gvf.sourceforge.net/
with
> GEF (one of the 2.1 release not the final 2.1 release).
>
> Sam
>
>
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:b8hvqi$s31$1@rogue.oti.com...
> > This can be done already by using a "hozontal" tree with all nodes set
to
> > "hanging" layout style. A test case is in the draw2d.examples project.
> > But, it sounds like what you want is a Tree widget that let's you paint
> > whatever you want, correct? I think it would be great if custom
> > tables/trees/etc used IFigure as the renderering mechanism.
> >
> > "Yoav Rubin" <yoav@il.ibm.com> wrote in message
> > news:b8g1fm$nev$1@rogue.oti.com...
> > > Hi
> > > one usage scenario that i know would be useful in my app is layouting
> the
> > > chart in a similar way to the way a tree is seen in the tree viewer,
> i.e.,
> > > there is a root, you can either collapse or expand parent nodes, and
no
> > > two elements are found in the same vertical location.
> > >
> > > Randy Hudson wrote:
> > >
> > > > Has anyone already implemented or plan to implement an organization
> > chart
> > > > layout algorithm for draw2d? This is one of our 2.2 line items (2.2
> is
> > many
> > > > months out, btw), but we would like to understand the use scenarios,
> > and/or
> > > > receive contributions and testing from the community. See the
> attached
> > > > image.
> > >
> > >
> >
> >
>
>
Re: Org Chart/Hierarchical Tree Layout for 2.2 [message #77146 is a reply to message #77046] Mon, 28 April 2003 13:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: melaasar.rational.com

Where do I get that draw2d examples project?
Thanks,
Maged

"Randy Hudson" <none@us.ibm.com> wrote in message
news:b8hvqi$s31$1@rogue.oti.com...
> This can be done already by using a "hozontal" tree with all nodes set to
> "hanging" layout style. A test case is in the draw2d.examples project.
> But, it sounds like what you want is a Tree widget that let's you paint
> whatever you want, correct? I think it would be great if custom
> tables/trees/etc used IFigure as the renderering mechanism.
>
> "Yoav Rubin" <yoav@il.ibm.com> wrote in message
> news:b8g1fm$nev$1@rogue.oti.com...
> > Hi
> > one usage scenario that i know would be useful in my app is layouting
the
> > chart in a similar way to the way a tree is seen in the tree viewer,
i.e.,
> > there is a root, you can either collapse or expand parent nodes, and no
> > two elements are found in the same vertical location.
> >
> > Randy Hudson wrote:
> >
> > > Has anyone already implemented or plan to implement an organization
> chart
> > > layout algorithm for draw2d? This is one of our 2.2 line items (2.2
is
> many
> > > months out, btw), but we would like to understand the use scenarios,
> and/or
> > > receive contributions and testing from the community. See the
attached
> > > image.
> >
> >
>
>
Re: Org Chart/Hierarchical Tree Layout for 2.2 [message #77194 is a reply to message #77146] Mon, 28 April 2003 13:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

:pserver:anonymous@dev.eclipse.org:/home/tools
org.eclipse.draw2d.examples

"Maged Elaasar" <melaasar@rational.com> wrote in message
news:b8jo0r$aff$1@rogue.oti.com...
> Where do I get that draw2d examples project?
> Thanks,
> Maged
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:b8hvqi$s31$1@rogue.oti.com...
> > This can be done already by using a "hozontal" tree with all nodes set
to
> > "hanging" layout style. A test case is in the draw2d.examples project.
> > But, it sounds like what you want is a Tree widget that let's you paint
> > whatever you want, correct? I think it would be great if custom
> > tables/trees/etc used IFigure as the renderering mechanism.
> >
> > "Yoav Rubin" <yoav@il.ibm.com> wrote in message
> > news:b8g1fm$nev$1@rogue.oti.com...
> > > Hi
> > > one usage scenario that i know would be useful in my app is layouting
> the
> > > chart in a similar way to the way a tree is seen in the tree viewer,
> i.e.,
> > > there is a root, you can either collapse or expand parent nodes, and
no
> > > two elements are found in the same vertical location.
> > >
> > > Randy Hudson wrote:
> > >
> > > > Has anyone already implemented or plan to implement an organization
> > chart
> > > > layout algorithm for draw2d? This is one of our 2.2 line items (2.2
> is
> > many
> > > > months out, btw), but we would like to understand the use scenarios,
> > and/or
> > > > receive contributions and testing from the community. See the
> attached
> > > > image.
> > >
> > >
> >
> >
>
>
Re: Org Chart/Hierarchical Tree Layout for 2.2 [message #77209 is a reply to message #77194] Mon, 28 April 2003 16:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: melaasar.rational.com

How exactly do you reach to that location? through http?

Maged

"Randy Hudson" <none@us.ibm.com> wrote in message
news:b8joa1$ane$1@rogue.oti.com...
> :pserver:anonymous@dev.eclipse.org:/home/tools
> org.eclipse.draw2d.examples
>
> "Maged Elaasar" <melaasar@rational.com> wrote in message
> news:b8jo0r$aff$1@rogue.oti.com...
> > Where do I get that draw2d examples project?
> > Thanks,
> > Maged
> >
> > "Randy Hudson" <none@us.ibm.com> wrote in message
> > news:b8hvqi$s31$1@rogue.oti.com...
> > > This can be done already by using a "hozontal" tree with all nodes set
> to
> > > "hanging" layout style. A test case is in the draw2d.examples
project.
> > > But, it sounds like what you want is a Tree widget that let's you
paint
> > > whatever you want, correct? I think it would be great if custom
> > > tables/trees/etc used IFigure as the renderering mechanism.
> > >
> > > "Yoav Rubin" <yoav@il.ibm.com> wrote in message
> > > news:b8g1fm$nev$1@rogue.oti.com...
> > > > Hi
> > > > one usage scenario that i know would be useful in my app is
layouting
> > the
> > > > chart in a similar way to the way a tree is seen in the tree viewer,
> > i.e.,
> > > > there is a root, you can either collapse or expand parent nodes, and
> no
> > > > two elements are found in the same vertical location.
> > > >
> > > > Randy Hudson wrote:
> > > >
> > > > > Has anyone already implemented or plan to implement an
organization
> > > chart
> > > > > layout algorithm for draw2d? This is one of our 2.2 line items
(2.2
> > is
> > > many
> > > > > months out, btw), but we would like to understand the use
scenarios,
> > > and/or
> > > > > receive contributions and testing from the community. See the
> > attached
> > > > > image.
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Re: Org Chart/Hierarchical Tree Layout for 2.2 [message #77241 is a reply to message #77209] Mon, 28 April 2003 16:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Open up the CVS->Repositories View and right-click to add a location.
Then fill in the dilaog with the data mentioned previously.

"Maged Elaasar" <melaasar@rational.com> wrote in message
news:b8k1gu$iej$1@rogue.oti.com...
> How exactly do you reach to that location? through http?
>
> Maged
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:b8joa1$ane$1@rogue.oti.com...
> > :pserver:anonymous@dev.eclipse.org:/home/tools
> > org.eclipse.draw2d.examples
> >
> > "Maged Elaasar" <melaasar@rational.com> wrote in message
> > news:b8jo0r$aff$1@rogue.oti.com...
> > > Where do I get that draw2d examples project?
> > > Thanks,
> > > Maged
> > >
> > > "Randy Hudson" <none@us.ibm.com> wrote in message
> > > news:b8hvqi$s31$1@rogue.oti.com...
> > > > This can be done already by using a "hozontal" tree with all nodes
set
> > to
> > > > "hanging" layout style. A test case is in the draw2d.examples
> project.
> > > > But, it sounds like what you want is a Tree widget that let's you
> paint
> > > > whatever you want, correct? I think it would be great if custom
> > > > tables/trees/etc used IFigure as the renderering mechanism.
> > > >
> > > > "Yoav Rubin" <yoav@il.ibm.com> wrote in message
> > > > news:b8g1fm$nev$1@rogue.oti.com...
> > > > > Hi
> > > > > one usage scenario that i know would be useful in my app is
> layouting
> > > the
> > > > > chart in a similar way to the way a tree is seen in the tree
viewer,
> > > i.e.,
> > > > > there is a root, you can either collapse or expand parent nodes,
and
> > no
> > > > > two elements are found in the same vertical location.
> > > > >
> > > > > Randy Hudson wrote:
> > > > >
> > > > > > Has anyone already implemented or plan to implement an
> organization
> > > > chart
> > > > > > layout algorithm for draw2d? This is one of our 2.2 line items
> (2.2
> > > is
> > > > many
> > > > > > months out, btw), but we would like to understand the use
> scenarios,
> > > > and/or
> > > > > > receive contributions and testing from the community. See the
> > > attached
> > > > > > image.
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Re: Org Chart/Hierarchical Tree Layout for 2.2 [message #77273 is a reply to message #77046] Mon, 28 April 2003 17:19 Go to previous messageGo to next message
Eclipse UserFriend
"Randy Hudson" <none@us.ibm.com> wrote in message
news:b8hvqi$s31$1@rogue.oti.com...
> This can be done already by using a "hozontal" tree with all nodes set to
> "hanging" layout style. A test case is in the draw2d.examples project.
> But, it sounds like what you want is a Tree widget that let's you paint
> whatever you want, correct? I think it would be great if custom
> tables/trees/etc used IFigure as the renderering mechanism.

If someone want to play with such tree widget and TreeViewer you may look
into code attached.

Regards,

as


  • Attachment: Tree.zip
    (Size: 12.01KB, Downloaded 133 times)
Re: Org Chart/Hierarchical Tree Layout for 2.2 [message #77289 is a reply to message #77087] Mon, 28 April 2003 14:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sy_cheung2.yahoo.com

I think so. But I haven't tried it myself.


"Randy Hudson" <none@us.ibm.com> wrote in message
news:b8jman$8sq$1@rogue.oti.com...
> Does GVF include a directed graph layout?
>
> "Sam Cheung" <sy_cheung2@yahoo.com> wrote in message
> news:b8jiqq$547$1@rogue.oti.com...
> > Randy,
> >
> > I have integrated the Tree Layout from GVF http://gvf.sourceforge.net/
> with
> > GEF (one of the 2.1 release not the final 2.1 release).
> >
> > Sam
> >
> >
> >
> > "Randy Hudson" <none@us.ibm.com> wrote in message
> > news:b8hvqi$s31$1@rogue.oti.com...
> > > This can be done already by using a "hozontal" tree with all nodes set
> to
> > > "hanging" layout style. A test case is in the draw2d.examples
project.
> > > But, it sounds like what you want is a Tree widget that let's you
paint
> > > whatever you want, correct? I think it would be great if custom
> > > tables/trees/etc used IFigure as the renderering mechanism.
> > >
> > > "Yoav Rubin" <yoav@il.ibm.com> wrote in message
> > > news:b8g1fm$nev$1@rogue.oti.com...
> > > > Hi
> > > > one usage scenario that i know would be useful in my app is
layouting
> > the
> > > > chart in a similar way to the way a tree is seen in the tree viewer,
> > i.e.,
> > > > there is a root, you can either collapse or expand parent nodes, and
> no
> > > > two elements are found in the same vertical location.
> > > >
> > > > Randy Hudson wrote:
> > > >
> > > > > Has anyone already implemented or plan to implement an
organization
> > > chart
> > > > > layout algorithm for draw2d? This is one of our 2.2 line items
(2.2
> > is
> > > many
> > > > > months out, btw), but we would like to understand the use
scenarios,
> > > and/or
> > > > > receive contributions and testing from the community. See the
> > attached
> > > > > image.
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Re: Org Chart/Hierarchical Tree Layout for 2.2 [message #77305 is a reply to message #77273] Mon, 28 April 2003 22:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Alex, this looks really cool! I think people can immediately understand it
because it uses simlar architecture to SWT's Tree. But, this means it has a
similar limitation of the SWT Tree. In order to display a Tree with 100,000
items, you must instantiate 100,000 TreeItems. No doubt it is probably an
order of magnitude faster since instantiation your items doesn't require
JNI. Any benchmarks?

"Alex Selkov" <as@empproject.com> wrote in message
news:b8k5u8$m6l$1@rogue.oti.com...
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:b8hvqi$s31$1@rogue.oti.com...
> > This can be done already by using a "hozontal" tree with all nodes set
to
> > "hanging" layout style. A test case is in the draw2d.examples project.
> > But, it sounds like what you want is a Tree widget that let's you paint
> > whatever you want, correct? I think it would be great if custom
> > tables/trees/etc used IFigure as the renderering mechanism.
>
> If someone want to play with such tree widget and TreeViewer you may look
> into code attached.
>
> Regards,
>
> as
>
>
>
Re: Org Chart/Hierarchical Tree Layout for 2.2 [message #77932 is a reply to message #76516] Mon, 05 May 2003 15:27 Go to previous messageGo to next message
Eclipse UserFriend
slightly off-topic, but I would love to see someone port the touchgraph
library
to SWT/Draw2D/GEF (whatever makes sense), see http://www.touchgraph.com
I use in to show dependencies between packages in code as part of my metrics
plugin, but currently have to use AWT_SWT to do it....

Frank

"Randy Hudson" <none@us.ibm.com> wrote in message
news:b88qln$2he$1@rogue.oti.com...
> Has anyone already implemented or plan to implement an organization chart
> layout algorithm for draw2d? This is one of our 2.2 line items (2.2 is
many
> months out, btw), but we would like to understand the use scenarios,
and/or
> receive contributions and testing from the community. See the attached
> image.
>
>
>
>
Re: Org Chart/Hierarchical Tree Layout for 2.2 [message #80566 is a reply to message #77074] Thu, 22 May 2003 21:21 Go to previous message
Eclipse UserFriend
Sam,

Have you released the code for this yet? Where?

Justin

"Sam Cheung" <sy_cheung2@yahoo.com> wrote in message
news:b8jiqq$547$1@rogue.oti.com...
> Randy,
>
> I have integrated the Tree Layout from GVF http://gvf.sourceforge.net/
with
> GEF (one of the 2.1 release not the final 2.1 release).
>
> Sam
>
>
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:b8hvqi$s31$1@rogue.oti.com...
> > This can be done already by using a "hozontal" tree with all nodes set
to
> > "hanging" layout style. A test case is in the draw2d.examples project.
> > But, it sounds like what you want is a Tree widget that let's you paint
> > whatever you want, correct? I think it would be great if custom
> > tables/trees/etc used IFigure as the renderering mechanism.
> >
> > "Yoav Rubin" <yoav@il.ibm.com> wrote in message
> > news:b8g1fm$nev$1@rogue.oti.com...
> > > Hi
> > > one usage scenario that i know would be useful in my app is layouting
> the
> > > chart in a similar way to the way a tree is seen in the tree viewer,
> i.e.,
> > > there is a root, you can either collapse or expand parent nodes, and
no
> > > two elements are found in the same vertical location.
> > >
> > > Randy Hudson wrote:
> > >
> > > > Has anyone already implemented or plan to implement an organization
> > chart
> > > > layout algorithm for draw2d? This is one of our 2.2 line items (2.2
> is
> > many
> > > > months out, btw), but we would like to understand the use scenarios,
> > and/or
> > > > receive contributions and testing from the community. See the
> attached
> > > > image.
> > >
> > >
> >
> >
>
>
Previous Topic:connecting a connection
Next Topic:Deleting an editpart
Goto Forum:
  


Current Time: Sun May 11 15:58:45 EDT 2025

Powered by FUDForum. Page generated in 0.05226 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top