Standardize the style of your diagrams

When several people draw processes in the same environment, each diagram can end up with its own colors, fonts and sizes. Documentation then looks uneven, and it is harder to recognize your company’s processes at a glance.

With this in mind, HEFLO offers diagram styles: a set of colors, fonts, line widths and sizes for the elements of the process editor. Choose one style as the environment default and every diagram is drawn with it, including the ones drawn before.

HEFLO lets users:

  • Create a style by choosing the colors of each kind of element, or generate all of them from a single base color
  • Offer the team a palette of approved colors, such as your brand colors
  • Make a style the environment default, so every diagram follows it
  • Give part of a diagram, such as one lane, a different style
  • Lock colors and fonts so nobody changes them in the editor
  • Edit, clone, archive and restore styles

Here is the same process before and after a new style became the environment default. Nothing was redrawn by hand.

The Purchase request approval process in the HEFLO style

The same process in the Brightwater Blue style

In this article, we explain how to open and create diagram styles, how to make one the environment default, how to apply a style to part of a diagram, how to lock the appearance, and how to manage your styles.

1. Which styles are available?

A diagram style sets the colors, fonts, line widths and sizes of the elements in the process editor.

StyleWhat it is
HEFLOThe look your diagrams have until you choose another default. It is built in.
Black and whiteA ready-made style for documentation that is printed or read in grayscale. It is built in.
Your own stylesThe styles your administrators create, for example in your brand colors.

💡 Good to know — If your environment uses the SAP Fiori or Material look, the screens look different, but the fields and their names are the same.

2. Open the diagram styles

You’ll need:

  • The Administrator role. Only administrators see the Style tab. The other people who edit diagrams see the result in the editor.
  • The Lite or Enterprise plan. On other plans, the Style tab shows the notice “Special feature of the paid plan.” and nothing can be changed.
  1. In the process editor, click the eye icon at the top of the page, next to Editor, and choose Diagrams.
  2. Click the Style tab.

The Style tab with the Environment default style field and the list of styles

You see the Environment default style field, set to HEFLO until someone changes it, and the list of styles. The Colors column previews each style, and Appearance tells you whether people can still change colors and fonts in the editor: free or locked.

3. Create a diagram style

A style is created in a window with two steps, General and Elements. The Preview on the right shows a sample diagram and changes as soon as you change a value.

General step

  1. On the Style tab, click the + button next to Show archived. The New style window opens.
  2. In Name, enter a name, for example Brightwater Blue. Each style needs its own name.
  3. Under Color mode, choose Color by element type to choose the colors of each kind of element in the next step, or Monochrome to generate every color from one Base color.
  4. Under Style palette, choose a color and click Add. Repeat for each color your team should use. To remove a color, click it.
  5. Leave Lock the appearance in the editor at OFF for now (see section 10).
  6. Click the arrow button at the bottom right to go to Elements.Here, Color by element type is selected, with five brand colors in the palette.

The General step with Color by element type and five brand colors in the palette

With Monochrome and a green Base color, the palette and the whole preview come from that one color. Start, intermediate and end events stay distinct by their border and symbol.

The General step with Monochrome and a green base color

💡 Good to know — The palette is the set of colors the color picker offers first in the editor. It does not paint anything by itself.

Elements step

  1. In the list on the left, click a kind of element, for example Task and call activity. The preview marks it with a dashed outline.
  2. Set Background Color, Border Color, Font Color and Font Size. A field left at Default keeps the HEFLO value.
  3. For tasks, subprocesses and gateways, choose the Line width of the border, from 1 to 4. A call activity is drawn one step thicker than a task.
  4. Check Bold or Italic to format the element’s text.
  5. Set the size: Default (W × H) is the size of a new element, and Min and Max limit how far people can resize it.
  6. Repeat for the other kinds of element: Subprocess, Event · Start, Event · Intermediate, Event · End, Gateway, Data object and data store, Pool and lane, Annotation and group and Connector.
  7. Click Done.

The Elements step with Task and call activity selected

In this example, tasks are light blue with a blue border and bold navy text, with a default size of 140 × 90. Once you click Done, a Success message appears and the style is listed on the Style tab. It is not used yet: make it the environment default, or apply it in the editor.

A new style starts with the HEFLO sizes. Restore HEFLO, at the bottom left of the Elements step, puts all the sizes back to HEFLO’s, after asking you to confirm.

⚠️ Important — The minimum cannot be larger than the default, and the default cannot be larger than the maximum. A wrong value shows the reason in red, a warning sign appears next to the kind of element, and Done stays disabled until you fix it.

A minimum width of 160 above the default width of 140, with an error message in red

4. Format pools, lanes, connectors and data objects

Pool and lane

  • Header color paints the title bars, and Body color the inside of the lanes.
  • Bold and Italic format the pool and lane titles.
  • Alternate the lane colors darkens every other lane toward the header color. Intensity sets how much.
  • Initial size sets the size of a new Pool and the height of a new Lane.

Pool and lane settings with a navy header and alternating lanes

The two small samples show the lanes without and with alternation.

Connector

Choose the Line color and a Line width from 1 to 4.

Connector settings with navy lines of width 2

Annotation and group

Border, font color, font size, bold and italic apply to text annotations and groups.

Data object and data store

⚠️ Important — For data objects and data stores, Background Color is the color of the document icon itself. A very light color makes the icon almost disappear.

A data object that is barely visible with a very light background color

With #F5F8FC, the data object is barely visible. Choose a darker color, such as slate #5B6770.

5. Make a style the environment default

  1. On the Style tab, open Environment default style.
  2. Choose the style. Choose HEFLO to go back to HEFLO’s own look.

The Environment default style list with HEFLO, Black and white and two custom styles

HEFLO and Black and white are always offered, next to your own styles. Once you choose, a Success message appears and the check mark in the Environment default style column moves to that style. Every diagram of the environment is drawn in the new style the next time it is opened, including diagrams drawn before.

Two things do not follow the default:

  • Colors chosen by hand. An element that got a color in Appearance, or through Apply style with another style, keeps it.
  • Sizes of existing elements. Sizes apply to new elements in every diagram. Elements already drawn do not change; those above the maximum can shrink but not grow.

An existing task next to a new, larger task drawn at the style’s default size

A task added after the change (on the left) takes the style’s default size. The task drawn before keeps its size.

6. Apply a style to part of a diagram

Use Apply style to give some elements a different style from the rest of the diagram, for example to make one department’s lane stand out.

Selected elements

  1. Select the elements. To select more than one, hold Ctrl while you click.
  2. Right-click one of the selected elements.
  3. Point to Apply style and click the style.

Two selected tasks and the context menu open on Apply style

The environment default comes first in the list. HEFLO is not offered while another style is the default.

A lane and everything in it

  1. Right-click the lane’s title.
  2. Point to Apply style and click the style.

The context menu of the Finance lane open on Apply style

The lane, every element inside it and the connectors that start and end inside it take the colors, fonts and default sizes of that style. The rest of the diagram does not change. One Undo reverts the whole change.

The Finance lane in shades of green, the rest of the diagram in blue

💡 Good to know — To hand an element back to the environment default, select it and use Apply style with the default style, the first one in the list.

7. Use the Black and white style

Black and white is a ready-made style for documentation that is printed or read in grayscale. It is always offered in Environment default style and in Apply style.

  1. On the Style tab, open Environment default style.
  2. Choose Black and white.

The process in Black and white, with the Finance lane still green

Every shape is white with a thin black border and black text. Start, intermediate and end events differ by a thin, double or thick border, and sequence flow arrowheads are hollow. The Finance lane keeps the green it got through Apply style: colors chosen by hand do not follow the default.

💡 Good to know — Black and white is not added to the list of styles, and it cannot be edited, cloned or archived.

8. Pick colors from the style palette

  1. In the editor, select an element.
  2. Open Properties and expand Appearance.
  3. Open Background Color or Font Color.

The color picker with the five style colors in the first row

The colors of the default style’s palette come first, followed by the standard colors. A field nobody has changed shows Default: the element follows the environment style.

💡 Good to know — The border’s line width is set only by the style. It is not in Appearance.

9. Put an element back at its default size

  1. Select one or more elements that were resized.
  2. Right-click one of them and choose Restore default size.

A stretched task with its context menu open on Restore default size

Each element goes back to the default size of the environment style and keeps its center in place. One Undo reverts it.

Before: a task stretched by hand

After: the same task back at its default size

10. Stop people from changing colors and fonts

  1. On the Style tab, click Edit on the style.
  2. Set Lock the appearance in the editor to ON.
  3. Click the arrow button, then Done.
  4. Make the style the environment default, if it is not already.

The list of styles with the default style shown as locked

The list shows the style as locked. In the editor, the Appearance fields in Properties are grayed out for every element.

The Appearance fields grayed out

Apply style then offers only the default style, and the whole diagram is drawn with it, including elements painted with another style before. Below, the same process with the lock off, then on.

Lock off: the Finance lane keeps its green

Lock on: the whole diagram follows the default style

💡 Good to know — The lock follows the default style. A locked style that is not the default changes nothing in the editor. Turn the lock off and the colors chosen by hand come back.

11. Edit, clone or archive a style

Each row of the list has three buttons on the right: Edit, Clone and Archive. You can also double-click a row to edit it.

  • Edit opens the same window with the style’s values. Color changes reach every diagram that uses the style; size changes reach new elements.
  • Clone opens a copy with every value of the original, named after it with “(2)” at the end. Change the name and click Done.
  • Archive asks for confirmation. Click Yes.

The confirmation message before archiving a style

The window opened by Clone, with the name ending in (2)

Styles are never deleted. Archiving takes a style out of Environment default style and Apply style, and it can be brought back. Elements painted with an archived style keep their colors.

  1. To see archived styles, set Show archived to ON.
  2. On the archived style, click Restore.

An archived style with its Restore button

An archived style cannot be edited until it is restored.

12. Good to know

  • The default style cannot be archived. Its Archive button is disabled until you choose another default.
  • An archived style cannot be edited. Restore it first, or clone it.
  • Each style needs its own name. Names are compared without upper or lower case and without accents, so “Finance Green” and “finance green” are the same name.
  • HEFLO and Black and white are built in. They cannot be edited, cloned or archived.
  • The border’s line width belongs to the style. It cannot be changed from Appearance.
  • Elements cannot be resized past the style’s limits. The Min and Max of the style apply.

13. Common questions

An element kept its color after the default changed.
It has a color chosen in Appearance or through Apply style with another style. Select it and use Apply style with the default style.

Existing elements kept their size after the default changed.
Sizes apply to new elements only. Select the elements and use Restore default size.

An open diagram still shows the previous style.
The editor reads the default style when the diagram opens. Open the diagram again.

HEFLO is missing from Apply style.
It is offered only while HEFLO is the environment default. Use the default style, the first in the list, to go back to the environment’s look.

A style is missing from Apply style or from the default list.
It is archived, or the default style locks the appearance and only the default is offered. Turn on Show archived and click Restore, or turn the lock off.

The Appearance fields are grayed out.
The environment’s default style locks the appearance. An administrator can turn Lock the appearance in the editor off, or choose another default.

I get “There is already a style with this name.” for a name that looks different.
Upper and lower case and accents do not count. The same check runs when you restore an archived style. Choose another name, or rename the style that uses it.

Data objects are almost invisible.
In Data object and data store, Background Color is the color of the icon itself. Choose a darker color.

An element cannot grow or shrink.
The style limits resizing to Min and Max. An element drawn larger than the maximum before the style existed can shrink, but not grow. Change the limits in the style, if needed.

A diagram imported from a BPMN file kept other colors.
Colors stored in the file are kept as the element’s own colors. Elements without colors in the file follow the environment default. Use Apply style with the default style on the elements you want to follow it.

An instance’s diagram, the heatmap or the version comparison shows HEFLO’s colors.
These views are drawn without the style, on purpose. There is nothing to do.

Conclusion

Diagram styles give all the processes of your environment the same look, without redrawing anything by hand:

  • Colors, fonts and sizes chosen once for each kind of element
  • A default style that every diagram follows, including the ones drawn before
  • A different style for a lane or a few elements when you need it
  • A lock that keeps diagrams consistent

The key point: the default style applies to everything except colors chosen by hand and the sizes of elements already drawn.

Was this article helpful?

Related Articles