Changes between Version 3 and Version 4 of VizAlign


Ignore:
Timestamp:
07/20/06 14:53:00 (12 years ago)
Author:
endres
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VizAlign

    v3 v4  
    1616== Visualisation Systems == 
    1717 
    18 === 1. [wiki:VizAlign#tt TableTime] === 
     18=== 1. [wiki:VizAlign#a1.TableTime TableTime] === 
    1919 
    20 The [wiki:VizAlign#tt TableTime] visualisation uses tables to render an alignment as a list of relations. Furthermore, there are two such tables to enable the user to compare two selected alignments from the set. The synchronise function sorts the second table according to the first one, allowing for an easy comparison of the relations included. 
     20The [wiki:VizAlign#a1.TableTime TableTime] visualisation uses tables to render an alignment as a list of relations. Furthermore, there are two such tables to enable the user to compare two selected alignments from the set. The synchronise function sorts the second table according to the first one, allowing for an easy comparison of the relations included. 
    2121 
    2222Among the features planned are an alignment diff and some easy statistical analysis tools. 
     
    2929[http://www.graphviz.org/ GraphViz] is a general graph layouting package, containing the DOT tool. The abstract visualisation module {{{de.dfki.km.phaselib.tools.vizAlign.dotGUI.GraphVizBasedVisualiser}}} provides a basic access to this DOT layouter, by generating an input (.dot) file from the alignment to be rendered. The resulting layout is then to be presented by an specification of this abstract module. Each such specification requires the [http://www.graphviz.org/ GraphViz] tools to be installed and to be found in the path. 
    3030 
    31 The '''BatikDOTVisualiser''' uses the abstract module to layout the ontology and alignment graphs to scalable vector graphic (.svg) files. It then uses the [ 
    32 http://xmlgraphics.apache.org/batik apache batik package] to render these .svg files on the screen. The visualising main class is {{{de.dfki.km.phaselib.tools.vizAlign.dotGUI.BatikDOTVisualiser}}}. It thus requires the [ 
    33 http://xmlgraphics.apache.org/batik apache batik package]. The batic library provides an extensive user interface, have a look at their [http://xmlgraphics.apache.org/batik/svgviewer.html#zooming viewer manual] and ignore the menu based descriptions. 
     31The '''BatikDOTVisualiser''' uses the abstract module to layout the ontology and alignment graphs to scalable vector graphic (.svg) files. It then uses the [http://xmlgraphics.apache.org/batik apache batik package] to render these .svg files on the screen. The visualising main class is {{{de.dfki.km.phaselib.tools.vizAlign.dotGUI.BatikDOTVisualiser}}}. It thus requires the [http://xmlgraphics.apache.org/batik apache batik package]. The batic library provides an extensive user interface, have a look at their [http://xmlgraphics.apache.org/batik/svgviewer.html#zooming viewer manual] and ignore the menu based descriptions. 
    3432 
    3533Unfortunately, this visualiser is not able to deal with larger data sets. Furthermore is the layout often quite unappropriate to show a set of relations between the ontology graphs, despite our effort to teach it better. We'd be grateful for any contribution. 
     
    3937 
    4038== Code Example == 
    41 TODO 
     39 
     40Here's some sample code to demonstrate the easy usage of VizAlign: 
     41{{{ 
     42//////////////////////// SNIP SNIP SNIP ////////////////////////////// 
     43        // generate an alignment from the scratch 
     44        AlignmentGenerator generator = new SomeAlignmentGenerator(); 
     45        Alignment alignment = generator.generateAlignment(emptyAlignment, params); 
     46         
     47        // add the resulting alignment to our VizAlign data set, id "Test" 
     48        VizAlign.getVizAlign("Test").add(alignment); 
     49                 
     50        // let the generator run a second pass 
     51        alignment = generator.generateAlignment(alignment, params); 
     52         
     53        // add the resulting alignment again. 
     54        VizAlign.getVizAlign("Test").add(alignment); 
     55                 
     56        // Visualise our two alignments using the default visualiser 
     57        VizAlign.visualise("Test");      
     58//////////////////////// SNAP SNAP SNAP ////////////////////////////// 
     59}}}