Create and Set Up an Area
An area is a grouping of data at a location on a canvas.
There are three ways to create an area:
1. Draw an area on the canvas in the Viewer.
2. Create an area in the Repository.
3. Enter an area on a TAB in an Excel Sheet and upload the Excel Sheet in the Viewer.
How to draw an area in the Viewer?
To draw an area in the Viewer:
- Go to the Viewer: www.dragon1.com/viewer
- Click on the [+] button
- Enter a name and select a template. Click OK
- Drag the area shape onto the canvas
- Place it at the correct location and give it the right size
- Click on the properties or browser button
- To have the area group show f.i. process data/shapes, enter process as dataclass, enter tags as dataattribute, and enter core as datavalue
- If the dataset contains processes tagged core, the area will show
- If you want the area to show data from the repository, add datasource as attribute to the area with the value repository.
- You can also set the columns and rows, spacing, and alignment of the area
Other attributes to set are:
- Areaicon - example: /vectors/process.svg
- Iconshapesize - example: 32px
- Nameborder - example: 3px solid black
- Offset - use an offset value if the background of the area is a parallelogram
How to create an area in the repository?
To create an area in the repository:
- Go to the Data Manager: www.dragon1.com/datamanager
- Select the Area from the overview
- Click on the Add button to add an area
- Provide a name for the area
- Provide an X, Y, Width, and Height value for the area
- Provide a value for dataclass, dataattribute, and datavalue
- If you want the area to show core applications, provide the following values: dataclass=application, dataattribute=type, datavalue=core
- If you want the area to be part of a template, select a template
- If you want the area to be part of a visualization, select a visualization
- Click on the Save and Close button
- Go to the Viewer to view the result
Areas created in the repository will, by default, show data from the repository
If you want the area to show data from an Excel sheet, add the data source as an attribute to the area with the value file.
The other attributes of above do also apply.
How to enter an area in Excel?
To enter an area in Excel:
- Create an Excel Sheet
- Name one of the tabs in the Excel Sheet Areas
- Place the following column names in lower case in the first row: id, name, class, type, columns, rows, dataclass, dataattribute, datavalue, alignment
- Extra optional attributes to use are: nameborder, spacing, areaicon, iconshapesize, and offset.
- Make sure the Excel also has tabs with the data you want to area to show.
- If you want the area to show data from the repository, add datasource as attribute to the area with the value repository.