I am working with a Directed Sparse Multigraph and I would like to incorporate the following functionality. Using the annotation plugin for an EditingModalGraphMouse, I currently have the ability to draw rectangle on my graph. However, I need to to know which vertices are inside the rectangle that was drawn. Also, I need the ability to fire some sort of listener if the border of the annotation rectangle was clicked. Ideally I would also like the ability to move and resize the rectangle dynamically.
Does anyone have a suggestion?
Many thanks,
Andrew
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I suppose what I really need to know is where the rectangles that the Annotation Manager draws are stored. Thus far I haven't been able to get to the AnnotationManager (it's a protected field) or any annotation accessor methods from my AnnotatingGraphMousePlugin.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
I am working with a Directed Sparse Multigraph and I would like to incorporate the following functionality. Using the annotation plugin for an EditingModalGraphMouse, I currently have the ability to draw rectangle on my graph. However, I need to to know which vertices are inside the rectangle that was drawn. Also, I need the ability to fire some sort of listener if the border of the annotation rectangle was clicked. Ideally I would also like the ability to move and resize the rectangle dynamically.
Does anyone have a suggestion?
Many thanks,
Andrew
I suppose what I really need to know is where the rectangles that the Annotation Manager draws are stored. Thus far I haven't been able to get to the AnnotationManager (it's a protected field) or any annotation accessor methods from my AnnotatingGraphMousePlugin.