Introduction

This document describes how to customize a System Model diagram using a Shapes XML file to specify the styling of the components and generated legend items. Modifying or creating a shapes files is intended for advanced users.

You must require a basic knowledge of XPath, Cascading Style Sheets (CSS) and SVG. For information on XPath, see Reference.

The shapes file gives fine control over what information is shown on a System Model item based on criteria met by that item. Specifically, one can set the following:

  • Background colour

  • Component shape (borders)

  • Component patterns (overlay)

  • Border styles (styles)

  • Label and border highlighting

  • Any CSS styles

  • Labels for the legend