How to Create a Visualization template on Dragon1

On Dragon1 users are supported in using visualization templates, but also to create their own visualization templates.
This page describes how to create basic visualization templates.
Basic Parts
First we define what is a visualization template: a set of styled and arranged visual elements on a canvas, that can be populated with data coming from any source.
These visual elements can be groups, types of shapes, shapes and views, arranged in a certain way, called a layout.
A created visual template can be stored in the data manager and be reused on any visualization.
A visualization can only have 1 template.
Setting up the template
A template has the following overall properties:
- Template name, often in capitals and underscores, like: ENTERPRISE_MAP
- Pagesize - default: A3 (range can be from 1080, 4:3, A5 tot A0, A-1 and A-2)
- Pageorientation - default landscape (can also be portrait)
- Canvas - default value: T3M3B5
- Layout - for instance: none or L04_C01_C02_C4_C01_F02_R02 (this defines the grouplayout
- Layout Ext - for instance: s01_s02_s03 (this defines the subgroup layout)
- Layoutoptions
- Groups - comma seperated list of names
- Groupstyles - default: fillopacity=0;border=1 px solid black;fill=#fffff0
- Groupicons - comma seperated list of font awasome lib names
- Subgroups
- Subgroupstyles
- Subgroupicons - comma seperated list of font awasome lib names
- Shapes
- Shapestyles
- Icon library - default value: Dragon1
- Colorschema - default value: Dragon1
- Fontsize - default value, depending on pagesize
Setting up the canvas
The canvas of a visualization template has the following properties:
- Canvasmargin - default value: 20px
- Bodymargin - default value: 0px
- Groupmargin - default value: 10px
- Header - default value: show
- Body - default value: show
- Footer - default value: show
Setting up the default visualization
The default visualization of a template has the following properties:
- defaulttitle
- defaultsubtitle
- defaultcopyright
- defaultinfo
- backgroundcolor
- backgroudimage
- backgroundopacity
Templates in the Data Manager
In the data manager, templates can be stored, like below.

Place in the description field of a template the properties semicolon seperated, like this:
canvas=t3m3b5;pagesize=A3;backgroundcolor=darkblue;title=My First Template;layout=C03_L03_L02_L01