You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
[0.9.0] - 2022/11/24
Added
Add drawLinks, getAnchorPoint methods in DefaultDrawer.js.
Create a new draw method that executes the drawLinks and drawComponents methods.
Add method setReferenceAttribute and removeAllReferenceAttributes in Component to update container attribute.
Add default model DefaultData to manage all data of the plugin.
Add default model DefaultPlugin to simplify the plugin usage.
Add method setEvents in DefaultDrawer.
Add zoom and pan support.
Add the method addLink in DefaultDrawer.js that adds a new link between two components.
Add options prop to DefaultDrawer constructor to control rendering behavior.
Add createRenderingContext method to DefaultDrawer.
Add SVGToScreen and screenToSVG methods to DefaultDrawer.
Add setDisabledStyle and unsetAllDisabledStyles methods to DefaultDrawer.
Add dragHandler, setupDragBehavior and handleDropEvent methods to DefaultDrawer to control drag and drop interaction.
Add startLinkCreationInteraction and cancelLinkCreationInteraction methods to DefaultDrawer.
Add buildTree, setupTiles and __buildLines methods to DefaultDrawer to control the component layout.
Add method getLinks in DefaultData to generate all links from all components attributes.
Add method getComponentsByType in DefaultData.
Add method getAttributeByName in Component.
Add method initLinkDefinitions in DefaultData and call it in init in DefaultPlugin.
Add method removeLink in DefaultData.
Add attribute name for method removeLinkAttribute of Component.
Add getMenuAction that contains all action handler.
Changed
Rename the draw method to drawComponents.
Switch action menu position parameter from absolute to fixed.
Update constructor of DefaultDrawer, DefaultRenderer, DefaultParser and DefaultMetadata to use DefaultData.
Update draw method of DefaultDrawer to only use the container id.
Rename method getDefinitions of DefaultMetadata to parse and make it update directly the plugin data.
Make the method parse of DefaultParser update directly the plugin data instead of return components, links and errors.
DefaultDrawer constructor props re-ordered to (pluginData, resources, events, rootId, options) based on the likelihood of each prop being changed by the user.
Update drawComponents to make full use of d3's api.
Rename method removeLinkAttributeById of Component in removeLinkAttribute.
Rework the action menu to have more visual feedback, improve positioning comportment and adapt his content with available actions.
Removed
Remove method addChild from Component.
Remove interactjs and bin-pack dependencies.
Remove arguments of method render of DefaultRender to directly use the plugin data.