We are soon releasing version 3.0.1 of DiagramLite. It contains the following new features:
Zoom controlThe ZoomControl class lets users change interactively the current zoom level and scroll position of a Diagram. To set it up, add a ZoomControl to the page, place it anywhere over the target diagram, and set the control's Target property to that diagram. Set the ZoomStep and ScrollStep properties to specify the amount added to view's zoom level or scroll position by ZoomControl's buttons. You can customize the control's appearance by setting properties such as Fill, Stroke, CornerRadius and TickPosition.
Miscellaneous~ Enable the AllowRenamePages property of TabbedDiagramView to let users rename a DiagramPage interactively by clicking its tab.
~ Several new stock shapes added: RightTriangle, Decagon, Trapezoid, Star4Pointed, Star5Pointed, Star6Pointed, Star7Pointed, Star16Pointed, Star24Pointed, Star32Pointed, Donut, Plaque.
~ New RoundAndSquare and RoundAndSquare2 handle styles can be set as the HandlesStyle of nodes.
~ The projection of a node on the scales of Ruler control now shows the boundaries of the rotated node shape. To ignore rotation as in older versions, set ProjectRotatedBounds to false.
~ The ScrollZoneSize property specifies the size of the region near viewport borders that triggers auto-scrolling.
~ Set the HandlesStyle property of nodes to Custom to implement custom appearance and hit-testing for adjustment handles. The control raises DrawAdjustmentHandles and HitTestAdjustmentHandles events for such nodes.
~ The SetSelfLoopShape event is raised when a link becomes a self-loop, giving you a chance to set a custom shape for the link.
If anyone is interested in trying the beta version, please download this archive, containing updated control assemblies, help file, and a new sample project:
https://mindfusion.eu/_beta/DiagramLite301.zipAny comments, questions and general feedback are welcome.