Changes for page Graph Analysis (GrAna)
Last modified by Richard Kreissig on 2023/09/14 10:38
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. uru1 +XWiki.dag - Content
-
... ... @@ -1,7 +1,7 @@ 1 1 {{panel title="Project Overview"}} 2 2 Responsible: 3 3 4 -* {{mention reference="XWiki.uru" style="FULL_NAME" anchor="XWiki-uru- irbND"/}}4 +* {{mention reference="XWiki.uru" style="FULL_NAME" anchor="XWiki-uru-azXeo"/}} 5 5 6 6 Related Theses: 7 7 ... ... @@ -10,6 +10,14 @@ 10 10 11 11 The Graph Analysis (GrAna) project allows to examine a broad variety of structural properties of a graph (node count, edge count, etc.) as well as properties of the final drawing (area, edge crossings, etc.). An analysis can either be performed on a single graph or batch-like on large collections of graphs, in which case the results are written to a file. We support a variety of input formats, namely every format [[KIML>>doc:Infrastructure for Meta Layout (KIML)]]'s formats service knows about. 12 12 13 + 14 + 15 +{{toc/}} 16 + 17 +{{note}} 18 +A word of warning. Please scrutinize any results you get from GrAna. A lot of the existing analyses were written with certain graphs structures and use cases in mind. For instance, if the analysis does not account for self loops but your graph contains them, the results might be wrong. 19 +{{/note}} 20 + 13 13 = Single Graphs Within the Editor = 14 14 15 15 Within Eclipse we provide a //Graph Analysis// view, which can be found via Eclipse's //Windows->Show View->Others// dialog. ... ... @@ -26,6 +26,8 @@ 26 26 27 27 You can specify a list of {{code language="none"}}Job{{/code}}s. A job is a self-contained unit of work. It specifies the previously mentioned data using the following keywords: {{code language="none"}}resources{{/code}}, {{code language="none"}}layoutoptions{{/code}}, {{code language="none"}}analyses{{/code}}, and {{code language="none"}}output{{/code}}. Layout options are specified by blocks that start with an arbitrary identifier followed by curly brackets. It is possible to specify multiple blocks of layout options. Each block results in a separate layout run allowing, for instance, to first execute a node placement algorithm and then an edge routing algorithm. For convenience it is possible to specify resources and output files globally at the beginning of the file and then use the {{code language="none"}}ref{{/code}} keyword to reference them from a job. 28 28 37 +Besides jobs, there are also {{code language="none"}}RangeJobs and CompareJobs.{{/code}} A RangeJob can be used to analyze the effect of a specific layout option onto a specific metric. In the example below, the //thoroughness// layout option is registered using the {{code language="none"}}rangeoption{{/code}} keyword. An integer range is specified resulting in all values between (inclusive) 1 and 50 being tested. While the analyses specified using the {{code language="none"}}analyses{{/code}} keyword are only measured on the initial graph, the analysis specified using the {{code language="none"}}rangeanalysis{{/code}} keyword will be measured for every tested value of the range layout option. Since analyses can be composed out of multiple components (e.g. the edge crossing analysis states the minimum, maximum, and average number of crossings per edge as well as the sum – four components), the {{code language="none"}}component{{/code}} keyword tells GrAna which component to write to the output file. The CompareJob can apply two different layouts to a graph and compare the results (the graph is copied internally so the layouts do not influence each other). The two layouts are specified via two layout blocks as shown in the avg_distance example below. This kind of job can be used to analyze the effect of a layout on the individual nodes (e.g. the distance nodes are moved). 38 + 29 29 To execute GrAna based on a //.grana// file, right click the file and select //Execute Analysis Batch ...// 30 30 31 31 {{code language="java"}} ... ... @@ -37,6 +37,8 @@ 37 37 globalOutputs 38 38 original_alg "/Test/results/original.csv" 39 39 awesome_alg "file://workspaces/eclps/Test/results/new.csv" 50 + thoroughness "/Test/results/thorough.csv" 51 + compare "/Test/results/compare.csv" 40 40 41 41 execute all 42 42 ... ... @@ -72,6 +72,39 @@ 72 72 de.cau.cs.kieler.kiml.grana.nodeCount 73 73 de.cau.cs.kieler.kiml.grana.edgeCrossings 74 74 output ref awesome_alg 87 + 88 +rangejob thoroughness 89 + resources 90 + ref random 91 + layoutoptions 92 + klay { 93 + de.cau.cs.kieler.algorithm: de.cau.cs.kieler.klay.layered 94 + de.cau.cs.kieler.klay.layered.crossMin: LAYER_SWEEP 95 + } 96 + analyses 97 + de.cau.cs.kieler.kiml.grana.nodeCount 98 + rangeoption 99 + de.cau.cs.kieler.klay.layered.thoroughness 100 + intrange 1 to 50 101 + // floatvalues 0.3, 0.4, 0.5 102 + rangeanalysis 103 + de.cau.cs.kieler.kiml.grana.edgeCrossings 104 + component 3 105 + output ref thoroughness 106 + 107 +comparejob avg_distance 108 + resources 109 + ref random 110 + layoutoptions 111 + l1 { 112 + algorithm: fixed 113 + } 114 + l2 { 115 + algorithm: layered 116 + } 117 + analyses 118 + de.cau.cs.kieler.grana.compare.averageDistance 119 + output ref compare 75 75 {{/code}} 76 76 77 77 == Eclipse Wizard == ... ... @@ -81,6 +81,19 @@ 81 81 [[image:attach:granaWizard.jpg]] 82 82 \\ 83 83 84 -{{note}} 85 -A word of warning. Please scrutinize any results you get from GrAna. A lot of the existing analyses were written with certain graphs structures and use cases in mind. For instance, if the analysis does not account for self loops but your graph contains them, the results might be wrong. 86 -{{/note}} 129 += Required Plugins = 130 + 131 +* ((( 132 +Core: 133 + 134 +* 135 + 136 +{{code language="none"}} 137 +de.cau.cs.kieler.kiml.grana 138 +{{/code}} 139 +))) 140 +* Textual DSL: 141 +** {{code language="none"}}de.cau.cs.kieler.kiml.config.text{{/code}} 142 +** {{code language="none"}}de.cau.cs.kieler.kiml.config.text.ui{{/code}} 143 +** {{code language="none"}}de.cau.cs.kieler.kiml.grana.text{{/code}} 144 +** {{code language="none"}}de.cau.cs.kieler.kiml.grana.text.ui{{/code}}
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 - 122882731 +40075275 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/ 12288273/Graph Analysis (GrAna)1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/40075275/Graph Analysis (GrAna)