Welcome to WebmasterWorld Guest from 54.225.58.238

Forum Moderators: open

Message Too Old, No Replies

Generating a graphical representation of the XML tree

     
7:48 pm on Apr 19, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Nov 30, 2008
posts: 42
votes: 0


Hi everybody!

Hope I am in the right forum...
I have my nice XML file and I'd like to generate, in order to give an immediate idea of the parent-child relations, a visual representation of it in a graph-like fashion: with nodes represented by circles and connected by lines and maybe even navigable, so that if I pass on a certain element the related node in the representation will be highlighted (or the other way round).

Is there any software that automatically does that? I found software that generate a folder-like view of it but it's not exactly what I need.

Thanks for your attention!
8:28 pm on Apr 19, 2011 (gmt 0)

Moderator from CA 

WebmasterWorld Administrator httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 29, 2003
posts:4059
votes: 0


I did, once upon a time, see a Flash SWF that did this. But it wasn't circles and lines, it was like a tree with branches and twigs.
7:56 am on Apr 20, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Nov 30, 2008
posts: 42
votes: 0


Hi and thanks for the reply!

So, do you think I should better ask in an actionscript forum?
7:51 pm on Apr 20, 2011 (gmt 0)

Moderator from CA 

WebmasterWorld Administrator httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 29, 2003
posts:4059
votes: 0


yeah, you might find the kind of solution you're looking for in Flash.

worst case is you'll have to build one yourself. that won't be a trivial job.
8:36 am on Apr 21, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Nov 30, 2008
posts: 42
votes: 0


Hi again!

It's hard to believe that none ever did a similar application, but my searches didn't return anything useful. [So should I repost in the Flash forum or will you move/prune this thread there?]
4:04 pm on May 19, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Nov 30, 2008
posts: 42
votes: 0


after a long quest, I found an amazing library which works with JSON: [thejit.org...]