Skip to content

Configuring the Settings

Stacey edited this page Sep 29, 2020 · 7 revisions

With the Behavior Tree Visualizer, you can modify several properties to render your tree in a way that you like. These properties range from the icons that are shown, the color of the header, how the nodes and edges are highlighted and more.

Before configuring the settings, it is useful to understand the order of operations that the tool performs when deciding how a node should be styled:

  1. First, each node is checked against the Override Styles section.
  2. If no Override exists, the node is checked against the Main Node Styles section to see if it's derived type exists.
  3. Finally, if the Main Node Styles check fails, it is stylized with the settings in Default Style.

settings-screenshot

General

The general settings are:

Name Description
Inactive Node Dim Level Specifies the amount to dim the header of nodes that are not being run.
Active Border Highlight The color that the border of a node and edges connecting nodes will be.
Minimap Whether to show the minimap on the graph view.
Running Icon The icon to show when a node is currently running.
Success Icon The icon to show when a node has completed successfully.
Failure Icon The icon to show when a node has failed.

Default Style

This section specifies the default way to stylize a node if the node does not have a style that applies via the Overrides and Main Nodes checks.

Name Description
Color Color of the header before the Inactive Dim Level property is applied.
Icon Icon to display on the header.

Main Node Styles

Main nodes are high level nodes that leaf's derive from. This could be a Decorator, Condition and/or Composite. If an override does not exist, then the properties will be taken from here.

Name Description
Node Node that the style should be applied to.
Color Color of the header before the Inactive Dim Level property is applied.
Icon Icon to display on the header.
Decorator Decorator nodes will be drawn as an icon on the node that they impact. Leave this unchecked if you want to draw the decorator as its own node.
Invert Result Inverts the result that is displayed on the UI. If checked, Success will be displayed as Failure and Failure will be displayed as Success. Does not impact any behavior tree logic.

Override Styles

Overrides should be set for any nodes you want to have specific look/feel for.

Name Description
Node Node that the style should be applied to.
Color Color of the header before the Inactive Dim Level property is applied.
Icon Icon to display on the header.
Decorator Decorator nodes will be drawn as an icon on the node that they impact. Leave this unchecked if you want to draw the decorator as its own node.
Invert Result Inverts the result that is displayed on the UI. If checked, Success will be displayed as Failure and Failure will be displayed as Success. Does not impact any behavior tree logic.