Open crolando opened 1 year ago
At the moment, Nodes have a Properties object, which is typedef to attr_table. This in spirit is a userdata class, albeit inflexible and specialized.
In this task, we will formally add userdata fields to all the elemental graph objects: Nodes, Links and Pins.
While not wholly useful by themselves, they can be passed during event callbacks to the user, where they are very useful.
Userdata should be serialized and deserialized by the user in some way.
At the moment, Nodes have a Properties object, which is typedef to attr_table. This in spirit is a userdata class, albeit inflexible and specialized.
In this task, we will formally add userdata fields to all the elemental graph objects: Nodes, Links and Pins.
While not wholly useful by themselves, they can be passed during event callbacks to the user, where they are very useful.