By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,640 Members | 1,598 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,640 IT Pros & Developers. It's quick & easy.

UI Design Question

P: n/a
I have a need to display nodes in a hierarchy - an inverted tree of sorts -
but a bit more complicated than a simple tree or set of inverted trees. The
nodes I'm dealing with exist in a definite hierarchy, however any given node
can have more than one parent and can have multiple children (except for the
top/root nodes). This is different than a tree in that in a tree, any given
node can have at most one parent.

Anyway, I need to display these nodes and their relationships graphically on
an Web page. I'd appreciate some suggestions for how to accomplish this
visual display. I don't think I can use a simple tree/list view (like in
Windows Explorer) because in those, any given node can have at most one
parent (unless the node is displayed more than once - which I don't want to
do). I'd be happy just to even have some boxes containing a short bit of
text (to represent a node) and some connecting lines - but how to accomplish
this? Note: The nodes and their relationships are stored in a database, and
the graphical representation must be created at runtime.

Thanks!

Nov 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
sounds like a family tree type design. perhaps a search on that may lead to
what you are after.
Sounds like 3 tables to me though.
1) Nodes
2) Parents (1 to many)
3) Chidrem (1 to many)
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Guadala Harry" <GH@Holdtheonions.com> wrote in message
news:up**************@TK2MSFTNGP10.phx.gbl...
I have a need to display nodes in a hierarchy - an inverted tree of sorts - but a bit more complicated than a simple tree or set of inverted trees. The nodes I'm dealing with exist in a definite hierarchy, however any given node can have more than one parent and can have multiple children (except for the top/root nodes). This is different than a tree in that in a tree, any given node can have at most one parent.

Anyway, I need to display these nodes and their relationships graphically on an Web page. I'd appreciate some suggestions for how to accomplish this
visual display. I don't think I can use a simple tree/list view (like in
Windows Explorer) because in those, any given node can have at most one
parent (unless the node is displayed more than once - which I don't want to do). I'd be happy just to even have some boxes containing a short bit of
text (to represent a node) and some connecting lines - but how to accomplish this? Note: The nodes and their relationships are stored in a database, and the graphical representation must be created at runtime.

Thanks!

Nov 18 '05 #2

P: n/a
I already have the table design hammered out - but how to dislay it all
graphically in a Web page? I suppose a "brute force" method would involve
using GDI+ on the server to crank out a diagram that gets saved as a jpg
that is in turn referenced by an aspx - but that's a lot of work. I was
hoping for something simpler. Any ideas?

Thanks

-G

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:ed****************@TK2MSFTNGP12.phx.gbl...
sounds like a family tree type design. perhaps a search on that may lead to what you are after.
Sounds like 3 tables to me though.
1) Nodes
2) Parents (1 to many)
3) Chidrem (1 to many)
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Guadala Harry" <GH@Holdtheonions.com> wrote in message
news:up**************@TK2MSFTNGP10.phx.gbl...
I have a need to display nodes in a hierarchy - an inverted tree of sorts -
but a bit more complicated than a simple tree or set of inverted trees.

The
nodes I'm dealing with exist in a definite hierarchy, however any given

node
can have more than one parent and can have multiple children (except for

the
top/root nodes). This is different than a tree in that in a tree, any

given
node can have at most one parent.

Anyway, I need to display these nodes and their relationships

graphically on
an Web page. I'd appreciate some suggestions for how to accomplish this
visual display. I don't think I can use a simple tree/list view (like in
Windows Explorer) because in those, any given node can have at most one
parent (unless the node is displayed more than once - which I don't want

to
do). I'd be happy just to even have some boxes containing a short bit of
text (to represent a node) and some connecting lines - but how to

accomplish
this? Note: The nodes and their relationships are stored in a database,

and
the graphical representation must be created at runtime.

Thanks!


Nov 18 '05 #3

P: n/a
well, since it's not linear it's a toughie to say. If you limit it to only 1
node and it's children and parents you could use a double tree setup but
it's the siblings thing that makes it tough.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Guadala Harry" <GH@Holdtheonions.com> wrote in message
news:OI*************@TK2MSFTNGP11.phx.gbl...
I already have the table design hammered out - but how to dislay it all
graphically in a Web page? I suppose a "brute force" method would involve
using GDI+ on the server to crank out a diagram that gets saved as a jpg
that is in turn referenced by an aspx - but that's a lot of work. I was
hoping for something simpler. Any ideas?

Thanks

-G

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:ed****************@TK2MSFTNGP12.phx.gbl...
sounds like a family tree type design. perhaps a search on that may lead

to
what you are after.
Sounds like 3 tables to me though.
1) Nodes
2) Parents (1 to many)
3) Chidrem (1 to many)
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Guadala Harry" <GH@Holdtheonions.com> wrote in message
news:up**************@TK2MSFTNGP10.phx.gbl...
I have a need to display nodes in a hierarchy - an inverted tree of

sorts -
but a bit more complicated than a simple tree or set of inverted trees.
The
nodes I'm dealing with exist in a definite hierarchy, however any
given node
can have more than one parent and can have multiple children (except
for the
top/root nodes). This is different than a tree in that in a tree, any

given
node can have at most one parent.

Anyway, I need to display these nodes and their relationships graphically
on
an Web page. I'd appreciate some suggestions for how to accomplish

this visual display. I don't think I can use a simple tree/list view (like in Windows Explorer) because in those, any given node can have at most one parent (unless the node is displayed more than once - which I don't want to
do). I'd be happy just to even have some boxes containing a short bit
of text (to represent a node) and some connecting lines - but how to

accomplish
this? Note: The nodes and their relationships are stored in a

database, and
the graphical representation must be created at runtime.

Thanks!



Nov 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.