Changes between Version 3 and Version 4 of VizAlign
- Timestamp:
- 07/20/06 14:53:00 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VizAlign
v3 v4 16 16 == Visualisation Systems == 17 17 18 === 1. [wiki:VizAlign# ttTableTime] ===18 === 1. [wiki:VizAlign#a1.TableTime TableTime] === 19 19 20 The [wiki:VizAlign# ttTableTime] 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.20 The [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. 21 21 22 22 Among the features planned are an alignment diff and some easy statistical analysis tools. … … 29 29 [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. 30 30 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. 31 The '''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. 34 32 35 33 Unfortunately, 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. … … 39 37 40 38 == Code Example == 41 TODO 39 40 Here'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 }}}