Published Behaviors


A number of behaviors on hIndex will help you complete more complicated visualization tasks. The behaviors below, for instance, allow you to link a property of your agent to one of the reserved display fields. When the driving property is updated, the display property will be as well.

To use these behaviors on an agent, you will need to both add it to the "behaviors" array in an appropriate position (most likely after the driving property has been updated), and specify some other properties that the behavior requires. These properties are documented in the hIndex description of the behaviors.

Height

Color

Shape

You can find a working demonstration of these behaviors in the Published Display Behaviors simulation.

We encourage you to develop and publish your own behaviors which can enable more complex visualization tasks.

Previous

Join our community of HASH developers