[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xml DOM/DTD graph visualization
On Mon, Jun 25, 2001 at 04:47:22PM +0200, james anderson wrote: > I was curious about how an automatic layout package would fare with DTD > and DOM graphs. A naive generator for GraphViz's "dot" format is a > straight-forward graph walk. The "dot" file describes the connectivity > only. GraphViz is left with the hard work. The results are adequate for Which reminds me, I started on defining an XML representation of dot files and wrote a PerlSAX handler that writes out real .dot files. Very useful for generating graphs with XSLT. I added lexical scoping for default attributes, but subgraphs need some more thinking. Contact me if anyone's interested, I may even rewrite it in Java to make it useful for a larger number of people. Example: <digraph id="graph0"> <graph_attr center="1"> <node id="node01" color="red"/> <node_attr shape="box"> <node id="node02"/> </node_attr> <edge_attr dir="both"> <edge from="node01" to="node03"/> </edge_attr> <edge from="node01" to="node02"/> </graph_attr> </digraph> -- The idea is that the first face shown to people is one they can readily accept - a more traditional logo. The lunacy element is only revealed subsequently, via the LunaDude. [excerpted from the Lunatech Identity Manual]
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|