Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Version 1.7 beta (Read 1435 times)
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Version 1.7 beta
Dec 17th, 2013 at 10:08am
Print Post  
Version 1.7 contains the following new features:

Adjustment handle styles
Appearance of nodes' adjustment handles can be customized by calling the setHandlesStyle method. Supported styles include round and square handles, dashed and hatched frames, and some combinations. Apart from appearance, the handles style also controls what part of a node can be dragged to move or resize it. It is also possible to render custom handles by handling the drawAdjustmentHandles event, and implement custom hit-testing by handling the hitTestAdjustmentHandles event.

Dynamic links
A dynamic link automatically orients its end segments so that they point to the target nodes' centers while the link's nodes are dragged around. If a node's AnchorPattern is set, link ends will align to the closest anchor point instead. Positions of the link's end points are also updated when the next-to-last control points are being modified. To enable this, set the Dynamic property to true.

ContainerNode enhancements
~ Apply layout algorithms to content of a ContainerNode by calling its arrange method.
~ Selectively prevent adding or removing child nodes to/from a container by handling the containerChildAdding and containerChildRemoving events.

Miscellaneous
~ The Dirty flag is automatically set when a serializable property of an item or the diagram has been modified. It lets you determine where there are any changes that need to be saved.
~ The AdjustmentHandlesSize property specifies the size of adjustment handles.
~ The ShowDisabledHandles property controls whether disabled adjustment handles are draw on screen.

If anyone is interested in trying the beta version, please download this archive containing the updated .js library and help file:
https://mindfusion.eu/_beta/JsDiagram17.zip

Any comments, questions and general feedback are welcome.
« Last Edit: Dec 18th, 2013 at 8:09am by Stoyo »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint