Skip to main content

Themes

Themes are the top level of the canvas. Each state must be included in a theme. By default, a script has one theme: Root theme.

You can divide the states into multiple themes to make the script structure simpler and clearer. J‑Graph will work faster because it will display states only from the selected theme.

Theme level

To go to the theme level, click in the top left corner.

Theme level

This level displays all script themes and the links between them. Here you can go to a theme or create, rename, and delete themes.

tip

You can also manage themes on the Script structure panel.

Go to theme

To go to a theme, click .

The canvas will display only the states of this theme. If you create a new state, it will be included in the selected theme.

Create theme

  1. Click .
  2. Enter a theme name and click Create theme.

Rename theme

  1. Right-click a theme.
  2. Select Rename theme.
  3. Enter a new name and click Save.

Delete theme

  1. Right-click a theme.

  2. Select Delete theme and click Delete.

    caution

    All states of this theme and links to other themes will be deleted.

Move a state into a different theme

  1. Select a state.

  2. In the top right corner of the sidebar, click .

  3. Click Change nesting level.

  4. Select a different theme or one of its states from the list.

    State display in the list
    • If a state is in the root theme, the state path is displayed without the theme: Start/Hello.
    • If a state is in any other theme, the theme name is added to the path: NewTheme/Start/Hello.
  5. Click Change.