Color Themes Library
Use the Color Themes Library to quickly update your diagram and graph styles with some new and updated preset themes! Simply add the Color Themes Library into your model to update your model’s theme. Here is a video to walk you through the process:
When you open the Color Themes Library, you’ll see the following screen:
The Color Themes Library shows examples of each node class, including text, picture, form, and slider defaults as well as an Example Diagram to show how the selected theme looks. To the right of the example nodes there is a button Apply example node styles as default style. Under these examples there is a Select Diagram Theme menu which allows you to select theme and other options, and to the right of that menu there is an Additional Settings module and two buttons, Set all nodes to default color and border styles and Export Anastyle. At the bottom of the window is the Graph Examples menu which allows you to select graph themes and see examples of the selected settings on various graph types.
Download
You can download the Color Themes Library here: Color Themes Library.ana. To use it, simply add the library into your model.
Notes
- Nodes and graphs that already have non-default options selected will not update when defaults are changed. If you have nodes with explicit color and style settings that you would like to revert to model defaults, use the Set all nodes to default color and border styles button at the bottom right of the library.
- Arrow border colors will only change in Analytica versions 6.3.0 or newer
- Slider bars (and styles) will only display in Analytica versions 6.3.0 or newer
- Bar graph outlines will only change in Analytica versions 5.0.7 or newer
Make a new style
In Edit Mode you can change the colors and other styles of these example nodes at the top of the library diagram. Use the Color palette and Node Style dialog. Once you've set the styles you want, click the Apply example node styles as default style button to set these styles as the model default style. They will apply to all nodes in the model (except any that have their own nondefault styles). You can then export these styles as an Anastyle using the Export Anastyle button at the bottom of the library window, so you can easily apply them to other models.
Note that the font styles of these nodes will not be applied to the default style. The default model font is set in the Diagram Style dialog.
Any changes made to these nodes and the default style will be reset if you select different Diagram colors in the Select Diagram Theme menu below.
Select Diagram Theme Menu
Use the Select Diagram Theme menu to update your model’s default theme options. This menu includes the following options:
- Diagram colors
- Node borders
- Font size
- Font
Diagram colors
The Diagram colors drop-down select menu allows you to select one of our preset themes. Changing this menu automatically updates model defaults to the selected theme.
The available themes are shown in the table below:
2023 | 2023 Dark |
---|---|
Classic | Monochrome |
Viridis | Plasma |
See the Lumina Blog for insight on how the Viridis and Plasma themes were designed.
Node borders
Use the Node borders option to select node border style.
Select None to turn off node borders. Selecting this option will also toggle borders on and off in graphs. Monochrome sets a single border color for all nodes and Color sets custom border colors depending on each nodes’ color. See the table below for examples of the options:
None | Monochrome | Color |
---|---|---|
Some themes will automatically update the Include borders option to the selected theme’s default when you change themes, but this option can still be changed according to your tastes.
Font Size
The Font size menu allows you to change the font size of your model. This will affect the text and tables in diagrams, graphs, Object View, and Result View.
Font
The Font menu allows you to change the font of your model. This will affect the text in diagrams and graphs.
Graph Examples Menu
The Graph Examples menu allows you to change your graph theme and view various example graphs. By default, the Same diagram and graph themes option is selected and graphs will match the selected Diagram colors.
If you uncheck the Same diagram and graph themes option, several menus will appear on the right hand side of the menu. The Graph theme drop-down menu provides a list of graph theme options for you to choose from. The Graph font size drop-down menu will change the font size in graphs. And the Include graph borders checkbox allows you to toggle borders on and off in graphs. Changing these selections will update the graph settings accordingly.
Click the Result icon () for each graph type to see an example.
Examples of the available themes are shown in the table below:
2023 | 2023 Dark |
---|---|
2023 Rainbow | 2023 Dark Rainbow |
Classic | Monochrome |
Viridis | Plasma |
Set all nodes to default color and border styles
At the bottom right of the Color Themes Library is a Set all nodes to default color and border styles button. Nodes with explicit colors and styles will not update when model defaults are changed. This button reset all nodes with explicit colors and styles so they will use the defaults, i.e., the colors from the selected theme, again.
Export Anastyle
At the bottom right of the Color Themes Library is an Export Anastyle button. Clicking on this button will save the current model's default diagram and graph theme options into an Anastyle file that can be imported into other models. This way you can easily import your selected options into other models without having to import the Color Themes Library and select your options again. You can import an Anastyle file to a model the same way you would add a Library into a model.
See Anastyles for more information.
Additional Settings
The Additional Settings module is located on the right hand side of the library under the example nodes. Open this module to access Arrow Settings and Corner Settings.
Arrow Settings
The Arrow settings menu allows you to change the default size and color of arrows.
Use the Arrow size drop-down select menu to change the arrow size.
Change the arrow color by changing the color of the Arrow color node, then pressing the Apply color button beneath it. Your selected color will not be applied as the default color until you press the Apply color button. Note that you must be in Edit mode to change the Arrow color node. If you are in Edit mode, you can open the Color Palette by right-clicking on the Arrow color node and selecting Show/Hide Color Palette.
Corner Settings
The Corner Settings menu allows you to change the default corner radius of certain objects.
Use the Set corner radius to drop-down select menu to select a corner radius. The Null option selects the system default corner radius.
Use the For object types multi-choice select menu to select which objects the corner radius settings should apply to. Options include Text nodes, Frame nodes, User inputs and outputs, and Buttons.
Reverting to the Classic Theme
If you’re using the Color Themes Library and would like to go back to the Classic Analytica theme, you can simply select the Classic diagram colors and graph theme options.
Analytica also comes with the default Classic theme saved as an Anastyle file. You can use this file to revert any model to the Classic Theme without importing the Color Themes Library using the following steps:
- Go to File > Add Library…
- This should open the Select Library File window. By default this should be open in the Libraries folder. If not, this Libraries folder is usually accessible by going to C:/Program Files/Lumina/Analytica/Libraries.
- Open the Node Styles folder.
- Select the Defaults.anastyle file and press Open.
Release Notes
The latest Color Themes Library was released July 6, 2023. Updates include:
- Fixed Export Anastyle bug when Classic theme is selected
- Ability to change example node styles and apply them as default styles
- Arrow Settings and Corner Settings added in Additional Settings module
- Export Anastyle button now exports the current default settings to accommodate any customization made
- Library variable identifiers have now been prefixed to avoid name conflicts when importing into models
Enable comment auto-refresher