Using expressions in numeric or fixed-value properties

For styling properties which usually have a fixed type of value (for example, numeric) or a fixed list of possible values (for example, true and false) , you cannot enter a data model reference or expression directly. Instead, you must use the right-click menu.
  1. In the ArizonaLogical example, select the link rule.
  2. Click the Width tab in the Styling Customizer.
    The styling properties in this tab are numeric.
  3. Increase the value in the Line width max. field to 50.
  4. Click in the Line width field.
  5. Clear the value.
  6. Right-click and select Enter an Expression.
  7. Enter @Traffic .
  8. Press Enter.
  9. Click in the canvas to see the result better.
    The line widths reflect the volume of traffic on the link, see the following figure.
diada_arizonalinks38.png
Numeric data model attribute value used in a diagram
If the thickness of the lines is not sufficient, try entering @|@Traffic*2 instead.