--- doc/fxviz.html.orig Wed Jun 6 11:56:20 2007 +++ doc/fxviz.html Wed Jun 6 11:57:17 2007 @@ -8,36 +8,36 @@

-fxp +fxp The Program fxviz

----------------- +---------------- - + - + - + - +
oo Description
oo An Example
oo Summary of Options
oo Tributes
-

---------------- +

----------------

Description

fxviz is an XML tree visualizer. It reads an XML document and produces @@ -131,7 +131,7 @@ the sequence of fragments it consists of.

Simimlarly, an element node can be unfolded such that each of its attributes is represented by its own attribute node as a child of the element. -

---------------- +

----------------

An Example

Consider the follwing XML document test.xml: @@ -159,32 +159,32 @@ The graph description produced by fxviz will display the document tree as follows: -

graph output example +

graph output example

Each node in the tree is connected to each of its children by an edge. Additionally, the nodes are annotated this their starting postions in the XML source. These positions can be viewed by selecting Node Information => Source Position in the vcg menu: -

graph output example +

graph output example

Text nodes are merged such that no text node has another text node as a direct sibling. If you wish to see how a merged text node is composed of text fragments, apply vcg's Unfold Subgraph function to that node. For the second text-node in the b-element this results in: -

graph output example +

graph output example

Additional information about attributes of elements is also available by applying vcg's Unfold Subgraph function to the element node: the attributes are removed from the element node's label, and for each attribute a new attribute node is inserted before the element's content. Each attribute node is labeled with the attribute name and has as a single child the attribute value: -

graph output example +

graph output example

The values of defaulted attributed are marked, and unspecified attributes are either marked as implied or missing: -

graph output example +

graph output example

Finally, if you are interested in the attribute type of some specified attribute, use the Node Information => Attribute Type function: -

graph output example -

---------------- +

graph output example +

----------------

Summary of Command Line Options

Each option can be one of: @@ -232,13 +232,13 @@ If fname is -, the standard output is used. Defaults to -. ----------------- +----------------

Tributes

fxviz generates output for vcg which is an excellent graph layout program written by Georg Sander at the University of Saarbrücken. -

---------------- +

----------------

fxp's feedback address fxp@PSI.Uni-Trier.DE