Introduction to View Templates

Basics of View Templates

Every view of a data graph is based on a template – the so called View Template. In a view template the properties that define the view, i.e. the view type, the data plotted and the exact styling of the visualization, are defined. As an example, a view template can be used to define that the elements of one node class of a data graph should be plotted as bar chart with blue bars that represent a certain attribute value. In the Open View dialog Soley Studio offers interactive Default View Templates for most views. However, to fully customize your visualization you can also write custom view templates. These view templates can then be reused every time you open a graph file (*.slg file).

View templates are *.slvt files and are written in XML syntax. You can create a multitude of different view templates for different view types.

The ViewTemplate Helpcenter is structured like this:

  • Graph View Template
    This article includes all basics about the Global Section and Style Section. It is explained how to set properties and values, how to hide or write protecting properties and how to use a converter to produce new properties.
  • Overview over all Graph View Properties
    This article includes a list of view properties supported for nodes and view properties supported only for edges. Furthermore view properties supported for the canvas – the background of the graph – are shown.

Was this article helpful?

Related Articles