Direct decorations
Last updated
Last updated
Usually, it's faster and easier to decorate elements, connections, and loops according to the data in their fields—for example, creating a decoration rule that selects all elements with the element type "Organization", and color-codes them based on their tags.
But, if you haven't added field data, or you just want to tweak the style of one single item on the map, direct decorations is the perfect tool.
To use them, simply hover over an element, connection, or loop, and the direct decorations toolbar will appear:
If you'd rather have the toolbar appear when you click on an item instead of hover, add the following in the Advanced Editor:
If the toolbar is a distraction and you prefer to use rule-based decorations, you can disable the toolbar altogether:
The table below lists all of the icons you'll find in the direct decorations toolbar for elements, connections, and loops, and what action each icon exposes to you.
You can undo your direct decorations for either one, or all, of the entities on your map.
To view what has been decorated with the toolbar, click on the Settings button on the right-hand side of your map and hover over the blue text "Disable direct decorations". You'll then see what elements/connections have been affected by direct decorations.
If you wish to undo all of the direct decorations, you can click on "Disable direct decorations" to return your map to the way it was before. Similarly, if you want to enable direct decorations again, click on the same blue text that is now "Enable direct decorations".
Another option is to disable direct decorations for one or a few single items on your map. To do so:
Hover over any element or connection
Click on the edit pencil to open the direct decorations toolbar
Choose the "More" icon at the end,
Click on the "Reset direct decorations" icon (represented as an eye with a dash through it)
In the next popup window, click "Reset".
Note that you can here also choose for a "hard reset", which resets the direct decorations of your entire map.
Similarly, if you wish to undo the direct decorations of only a few selected items, select those items first, and then follow the steps above.
There are just a few additional things you should know about direct decorations:
If you're data is coming in from a Google Sheet, you'll notice that the direct decorations toolbar doesn't show up. If you'd still like to use direct decorations, please switch to importing your data with Excel.
This includes all the code in your Advanced Editor. For example, if you direct decorate an element to color it blue, and then you use the view to color it red, it will still be blue.
If you want to change the direct decoration for an item, you can duplicate the map and make your changes in the new copy.
However, anyone who has view-only access to the map or is viewing a presentation or a shared/embedded map will still see your popovers (the direct decorations toolbar is hidden for them, since they can't make edits to your map).
If you're building popovers and just want to see how they look before you publish, you can either follow the instructions above to turn off the direct decorations toolbar, or click the ellipsis icon in the bottom right corner and select "Switch to preview mode".
Icon | Action | Elements | Connections | Loops |
---|---|---|---|---|
Edit label and type
Edit font color, font size, font style, and font alignment
Edit color
Edit size and/or shape
Add an image
Delete item
More options
Add a border
Add a bullseye
Add a shadow
Change connection direction
Add delay markings
Reset direct decorations
Visit these docs!