Click here to Skip to main content
15,893,190 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Following are the hierarchy levels
A-->B, B-->C, A-->C, C-->D
Is it possible to represent the relation in graphically using JQuery?
Posted
Updated 5-Sep-11 18:38pm
v2

1 solution

Nothing can help you to present this relationship as hierarchical because it is not hierarchical.

However, you can present any relationship graphically (it it is not too complex to fit on screen :-)). First, describe how you want to see it. I don't think JQuery will help you much. One approach is using plain JavaScript and SVG.

Look at this wonderful sample and the Dracula Graph Library used to build it: http://www.graphdracula.net/[^].

It even helps to do automatic routing. Try to drag graph nodes on the rendered image and click "redraw" to see how it works. According to this site, you can download it and use for free even in commercial applications.

—SA
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900