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
Param | Type |
---|---|
behavior | Behavior |
behavior_node_attributes(behavior) ⇒ Object
Kind: global function
Param | Type |
---|---|
behavior | Behavior | SequenceBehavior | ParallelBehavior |
attributes_to_dot(attributes) ⇒ string
Kind: global function
Param | Type |
---|---|
attributes | Object |
should_property_be_included(prop, object)
Kind: global function
Param | Type |
---|---|
prop | string |
object | Object |
build_node_properties_string(behavior, max_props)
Kind: global function
Param | Type | Default |
---|---|---|
behavior | Behavior | |
max_props | number | 10 |
should_behavior_have_properties_string(behavior) ⇒ boolean
Kind: global function
Param | Type |
---|---|
behavior | Behavior |
parse_behavior(out, behavior, context) ⇒ string
Kind: global function
Param | Type |
---|---|
out | LineBuilder |
behavior | Behavior | CompositeBehavior | AbstractDecoratorBehavior |
context | Object |
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)
Param | Type |
---|---|
behavior | Behavior |