-
Notifications
You must be signed in to change notification settings - Fork 59
Wires
mdproctor edited this page Nov 17, 2015
·
5 revisions
- z-index must be better implemented. Lines and CPs should always be ontop (by atleast one) on either side they connect to.
- need to support Text decorators. Where Text can be positioned hozitoan, vertical, along or perpendicular to the line it's targeted. It should support an offset distance from the start. This means line lengths will need to calculatable (which they aren't yet).
- Make it easy to have content decorators that have vertical and horizontal alignment, especially important for text and icons.
- Support stacks of action icons, that are aligned on the inside or outside of bounding box. Should support padding control.
- Need Resize start, resize, end event handlers. So that magnets can be updated.
- Resize and Point control events should also trigger align and distribute indexe updates*
- Maybe have a generalised start/action/end Handler interface, with a "type". Where type is drag, resize etc.
- Drag and Attribute change interfere with each other, especially with batch - which can cause the same action to happen twice. timestamps at the end of drag can allow attribute change to shortcut this. I think we can make a base class of drag and attribute handlers that does this out of the box. Probably add a helper method os that it auto subscribes all 4 handler methods, and possible handles removal too.
- Point controls that change the shape of the shape should disconnect all magnets, so they can be destroyed and recreated. user will need to manually add the connections back.
- get/set Location(double, double) for better change support.