I have a couple of challenges regarding the Diagram, which I need to address.
1: I need to be able to add a class to any shape that I add to the Diagram. How do I do this?
2: Once the classes are added, I need to add a delegated hover event to the shapes (which should be easy enough with jquery). My challenge in this case is that I need to be able to access the dataItem of the shape which I have added the event to.
Can anyone help me with this?
1: I need to be able to add a class to any shape that I add to the Diagram. How do I do this?
2: Once the classes are added, I need to add a delegated hover event to the shapes (which should be easy enough with jquery). My challenge in this case is that I need to be able to access the dataItem of the shape which I have added the event to.
Can anyone help me with this?