Skip to content

Settings

naraesk edited this page May 10, 2019 · 29 revisions

This pages describes the available configuration options for generating visualizations. Just edit the settings.properties file in the root directory according to your needs.

Input Settings

Key Values Description
input.files String Comma separated list of URLs to jar or war files
input.name default | String Name of the visualized system

Output Settings

Key Values Description
output.format aframe | x3d
metaphor rd | city
output.path /var/lib/jetty/output/
convert_to_multipart true | false
database_name /var/lib/jetty/databases/graph.db

City Settings

Key Values Description
city.building_type original | panels | bricks | floor
city.scheme types | visiblity The active mode to structure and color the methods and attributes.
types: The class elements are sorted and colored associated to type/functionality of the method.
visibility: The class elements are sorted and colored corresponding to their visibility modifiers.
city.class_elements_mode methods_and_attributes | methods_only | attributes_only Switch to control the elements of the classes to show
city.class_elements_sort_mode_coarse methods_first | unsorted | attributes_first
city.class_elements_sort_mode_fine scheme | unsorted | alphabetically | nos The active mode, how to sort the methods or attributes separately among each other.
This means a method is only compared to another method and an attribute is only
compared to another attribute in this comparison, according to their values.
If it is set to scheme, a secondary sorting is performed to place methods
with high numbers of statements at the bottom.
city.class_elements_sort_ mode_fine_direction_reversed true | false If set true, the order of the sorting, defined in class_elements_sort_mode_fine is reversed.
If class_elements_sort_mode_fine is set to scheme, a secondary sorting is performed to place
#methods with high numbers of statements at the bottom. This behavior isn’t influenced by this switch.
city.show_building_base true | false Switch to show or hide building base in panels or bricks mode.
If set to false, only districts and buildingSegments are visible.
city.show_attributes_as_cylinders true | false Switch for showing attributes as cylinders instead of boxes.
This setting has only an affect in panels-mode.
city.brick.layout progressive | straight | balanced The active mode for the layout of the bricks/methods.
This setting has only an affect in brick-mode.
city.brick.size 1.0 | Double
city.brick.horizontal_margin 0.5 | Double
city.brick.horizontal_gap 0.2 | Double
city.brick.vertical_margin 0.2 | Double
city.brick.vertical_gap 0.2 | Double
city.panel.separator_mode separator | none | gap The active mode for the area between panels/methods
city.panel.height_treshold_nos 3, 6, 12, 24, 48, 96, 144, 192, 240 Multiplier for height of a panel, declared in panel.height_unit. The elements of this array are threshold values for the number of statements inside the method and are multiplied with the index+1, so the product will be the actual height of the panel.
city.panel.height_unit 0.5 | Double Height is multiplied by city.panel.height_treshold_nos
city.panel.horizontal_margin 0.5 | Double
city.panel.vertical_margin 0.25 | Double
city.panel.vertical_gap 0.125 | Double
city.panel.separator_height 0.125 | Double
city.original_building_metric none | nos
city.width_min 1 | Double
city.height_min 1 | Double
city.building.horizontal_margin 3.0 | Double
city.building.horizontal_gap 3.0 | Double
city.building.vertical_margin 1.0 | Double
city.package.color_start #969696 | Hex Color
city.package.color_end #f0f0f0 | Hex Color
city.class.color_start #131615 | Hex Color
city.class.color_end #00ff00 | Hex Color
city.class.color #353559 | Hex Color
city.color.blue #99FFCC | Hex Color
city.color.aqua #99CCFF | Hex Color
city.color.light_green #CCFF99 | Hex Color
city.color.dark_green #99FF99 | Hex Color
city.color.yellow #ffff99 | Hex Color
city.color.orange #FFCC99 | Hex Color
city.color.red #FF9999 | Hex Color
city.color.pink #FF99FF | Hex Color
city.color.violet #9999FF | Hex Color
city.color.light_grey #CCCCCC | Hex Color
city.color.dark_grey #999999 | Hex Color
city.color.white #FFFFFF | Hex Color
city.color.black #000000 | Hex Color

Recursive Disk Settings

Key Values Description
rd.data_factor 4.0 | Double
rd.height 1.0 | Double
rd.ring_width 2.0 | Double
rd.ring_width_ad 0 | Double
rd.min_area 10.0 | Double
rd.namespace_transparency 0 | Double
rd.class_transparency 0 | Double
rd.method_transparency 0 | Double
rd.data_transparency 0 | Double
rd.color.class #353559 | Hex Color
rd.color.data #fffc19 | Hex Color
rd.color.method #1485cc | Hex Color
rd.color.namespace #969696 | Hex Color
rd.method_disks true | false If true the Methods will be visualized as Disks instead of DiskSegments
rd.data_disks true | false If true Attributes will be visualized as disks
rd.method_type_mode true | false If true visualization will be based on the method type