itemis Model Viewer controls the visual appearance of model elements by way of cascading style sheets (CSS). The tool has a built-in CSS style sheet called Standard. However, you can provide your own styling rules in the form of CSS files. Figure "Customizing model representation using cascading style sheets" is showing an example.
Customizing model representation using cascading style sheets
In order to provide and use your own CSS rules, proceed as follows:
Selecting a CSS file
The sample style sheet above already showed some CSS classes you can use as selectors for your styles. Here’s an exhaustive list of the supported CSS classes:
As itemis Model Viewer uses JavaFX for rendering model elements, you can obtain further information on CSS styling from the JavaFX reference documentation.