
Improves integration with Vue, React and Angular.
Features
- Integration with Vue, React and Angular
- Integration with your favorite framework is now much easier.
- Rappid now provides demos showcasing integration with the newest versions of these 3 frameworks.
- New Demos
- Chatbot demo.
- Measuring distances in pixels.
- Measuring angles.
- Upgraded jQuery dependency (v3.5.1).
- KitchenSink demo integrated with Angular9, VueJS and VueTs.
- Added Sequence Diagram demo.
- Added HTML Elements demo.
- apps.DataMapping
- Show translucent copy of an element being dragged.
- apps.Layout
- Implement dragging of embedded elements.
- shapes.Standard
- Support element ports with Record shapes.
- format.GridLayout
- Add setAttributes, verticalAlign, horizontalAlign, rowGap, columnGap options.
- ui.FreeTransform
- Support asynchronous updates.
- Add usePaperScale, resizeDirections and padding options.
- ui.Halo
- Magnet option callback receives event argument.
- ui.Inspector
- Relative when expressions for nested objects and lists.
- Add updateCellOnClose option.
- Make sure fields are saved before close.
- ui.Navigator
- Add useContentBBox option.
- Add freeze(), unfreeze().
- Trigger pan:start, pan:stop, zoom:start, zoom:stop events.
- ui.PaperScroller
- Add scrollWhileDragging option.
- Padding option callback accepts paper scroller instance.
- PositionContent(), scrollToContent() accepts useModelGeometry option.
- ui.Stencil
- Add freeze(), unfreeze().
- Add contentOptions and canDrag options.
- Add stencil-filtered CSS class when stencil is filtered.
- ui.Tooltip
- Add container option.
- dia.Paper
- Add beforeRender and afterRender options, add hasScheduledUpdates(), trigger render:done in sync mode.
- Prevent the prototype options modification, persist functions passed as options.
- ScaleContentToFit() option padding accepts an object.
- Dynamic link update priorities (fix for "link connected to other two links" update bug).
- dia.Element
- Port removal runs in batch.
- Add getGroupPorts().
- Prevent exception in getPointFromConnectedLink() when port does not exist.
- dia.LinkView
- Add requestConnectionUpdate().
- Trigger link:snap:connect and link:snap:disconnect events.
- Prevent exception when labels and connection require update.
- Measure snap distance for links from magnet's boundary.
- Add getEndConnectionPoint().
- mvc.View
- Add DETACHABLE property to ignore viewport matching, FLAG_INSERT & FLAG_REMOVE defined on per view basis.
- linkTools.Anchor
- Add resetAnchor option.
- linkTools.Segments
- Add stopPropagation option.
- connectionPoints.anchor
- Add align and alignOffset options.
- attributes.textWrap
- Add maxLineCount option.
- util.breakText
- Retain new line characters, add maxLineCount option.
- util.sanitizeHTML
- Sanitize attribute values with "data:" and "vbscript:".
- Geometry
- Add parallel() to Line, add serialize() to Point and Line.