DHTMLX Diagram 4.1
Released on December 7, 2021
New functionality
- The ability to add partner shapes in the org chart mode
- The ability to add assistant shapes in the org chart mode
- The ability to add titles to lines in the default mode
- The ability to drag and drop shapes from one parent to another in Editor in org chart and mind map modes. The shapes are dragged with their children items
- The ability to style target items in Editor in org chart and mindmap modes
API
- New events of the Diagram object: emptyAreaDblClick, emptyAreaMouseDown, lineTitleClick, lineTitleDblClick, lineTitleMouseDown
- New Shape properties specific for the org chart mode:
assistant
,partner
,catchItem
,giveItem
- New Shape properties specific for the mindmap mode:
catchItem
,giveItem
- New Line properties specific for the default mode:
title
- New methods of the Editor object: setViewMode(), zoomIn(), zoomOut()
- New events of the Editor object: beforeLineTitleMove, afterLineTitleMove, lineTitleMoveEnd, itemTarget, beforeItemCatch, afterItemCatch
- New properties of the Editor object: itemsDraggable
- New HistoryManager methods: add(), disable(), enable(), isRedo(), redo(), reset(), undo()
- New HistoryManager properties: disabled, saveDelay
- New Selection method: getSubId()
Check the full What's new list at https://docs.dhtmlx.com/diagram/whats_new/#version-41