SwitchesThere are two types of switch. PatternSwitches and OptionsSwitches. Without switches, it would be necessary to specify new configuration parts for every project specific pattern and every combination of display options.
The switches are given values as a DiagramStyle or TypeSelector is chosen. ExampleFor example, you may wish to create a diagram style which highlights every class written by programmer Wilma.
This will work; however you will need to make changes to the configuration each time you wish to highlight a different author's work. A more flexible approach is to use a pattern switch in the type selector.
|