Skip to main content

behavior_to_dot

Functions

compute_behavior_name(behavior)string
behavior_node_attributes(behavior)Object
attributes_to_dot(attributes)string
should_property_be_included(prop, object)
build_node_properties_string(behavior, max_props)
should_behavior_have_properties_string(behavior)boolean
parse_behavior(out, behavior, context)string
behavior_to_dot(behavior)string

Produces a diagram of behavior tree in DOT format, useful for debugging and exploration of complex trees

compute_behavior_name(behavior) ⇒ string

Kind: global function

ParamType
behaviorBehavior

behavior_node_attributes(behavior) ⇒ Object

Kind: global function

ParamType
behaviorBehavior | SequenceBehavior | ParallelBehavior

attributes_to_dot(attributes) ⇒ string

Kind: global function

ParamType
attributesObject

should_property_be_included(prop, object)

Kind: global function

ParamType
propstring
objectObject

build_node_properties_string(behavior, max_props)

Kind: global function

ParamTypeDefault
behaviorBehavior
max_propsnumber10

should_behavior_have_properties_string(behavior) ⇒ boolean

Kind: global function

ParamType
behaviorBehavior

parse_behavior(out, behavior, context) ⇒ string

Kind: global function

ParamType
outLineBuilder
behaviorBehavior | CompositeBehavior | AbstractDecoratorBehavior
contextObject

behavior_to_dot(behavior) ⇒ string

Produces a diagram of behavior tree in DOT format, useful for debugging and exploration of complex trees

Kind: global function
See: https://en.wikipedia.org/wiki/DOT_(graph_description_language)

ParamType
behaviorBehavior