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:
direct decorations toolbar
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:
- 1.Hover over any element or connection
- 2.Click on the edit pencil to open the direct decorations toolbar
- 3.Choose the "More" icon at the end,
- 4.Click on the "Reset direct decorations" icon (represented as an eye with a dash through it)
- 5.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'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".