Skip to content

Commit cef15f8

Browse files
committed
[update] add links to new snippets into api, minor corrections in docs
1 parent 9ecc195 commit cef15f8

15 files changed

+80
-14
lines changed

docs/api/diagram/typeconfig_property.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,4 @@ const diagram = new dhx.Diagram("diagram_container", {
111111

112112
- [Diagram. Mindmap mode. Direction ("left" | "right")](https://snippet.dhtmlx.com/pzllujx3)
113113
- [Diagram. Mindmap mode. Custom sides](https://snippet.dhtmlx.com/atto9ckg)
114+
- [Diagram and Gantt. PERT chart. Full integration](https://snippet.dhtmlx.com/gcnx4a9h)

docs/api/diagram_editor/editor/config/hotkeys_property.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,8 @@ The table below describes the actions performed by standard hotkeys and provides
9797

9898
**Change log**:
9999

100-
- The `hotkeys` property is added in v6.1
100+
- The `hotkeys` property is added in v6.1
101+
102+
**Related samples**:
103+
104+
- [Diagram Editor. Managing hotkeys' adding, modifying and disabling via API](https://snippet.dhtmlx.com/8ads5dq8)

docs/api/diagram_editor/editor/events/afteritemmove_event.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,12 @@ editor.events.on("afterItemMove", ({ id, coords }) => {
6464

6565
- The `batch` parameter was added in the v6.0
6666
- The callback function takes an object as a parameter since v6.0
67+
68+
**Related API**:
69+
70+
- [`beforeItemMove`](/api/diagram_editor/editor/events/beforeitemmove_event/)
71+
- [`itemMoveEnd`](/api/diagram_editor/editor/events/itemmoveend_event/)
72+
73+
**Related samples**:
74+
75+
- [Diagram Editor. Managing shapes' moving, rotating and resizing via events](https://snippet.dhtmlx.com/qldjbbm7)

docs/api/diagram_editor/editor/events/afteritemresize_event.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,8 @@ editor.events.on("afterItemResize", ({ id, width, height }) => {
6767
**Related API**:
6868

6969
- [`beforeItemResize`](/api/diagram_editor/editor/events/beforeitemresize_event/)
70-
- [`itemResizeEnd`](/api/diagram_editor/editor/events/itemresizeend_event/)
70+
- [`itemResizeEnd`](/api/diagram_editor/editor/events/itemresizeend_event/)
71+
72+
**Related samples**:
73+
74+
- [Diagram Editor. Managing shapes' moving, rotating and resizing via events](https://snippet.dhtmlx.com/qldjbbm7)

docs/api/diagram_editor/editor/events/afteritemrotate_event.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,8 @@ editor.events.on("afterItemRotate", ({ id, angle }) => {
4747
**Related API**:
4848

4949
- [`beforeItemRotate`](/api/diagram_editor/editor/events/beforeitemrotate_event/)
50-
- [`itemRotateEnd`](/api/diagram_editor/editor/events/itemrotateend_event/)
50+
- [`itemRotateEnd`](/api/diagram_editor/editor/events/itemrotateend_event/)
51+
52+
**Related samples**:
53+
54+
- [Diagram Editor. Managing shapes' moving, rotating and resizing via events](https://snippet.dhtmlx.com/qldjbbm7)

docs/api/diagram_editor/editor/events/beforeitemmove_event.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,12 @@ editor.events.on("beforeItemMove", ({ id, coords }) => {
6969

7070
- The `batch` parameter was added in the v6.0
7171
- The callback function takes an object as a parameter since v6.0
72+
73+
**Related API**:
74+
75+
- [`afterItemMove`](/api/diagram_editor/editor/events/afteritemmove_event/)
76+
- [`itemMoveEnd`](/api/diagram_editor/editor/events/itemmoveend_event/)
77+
78+
**Related samples**:
79+
80+
- [Diagram Editor. Managing shapes' moving, rotating and resizing via events](https://snippet.dhtmlx.com/qldjbbm7)

docs/api/diagram_editor/editor/events/beforeitemresize_event.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,7 @@ editor.events.on("beforeItemResize", ({ id, width, height }) => {
7272

7373
- [`afterItemResize`](/api/diagram_editor/editor/events/afteritemresize_event/)
7474
- [`itemResizeEnd`](/api/diagram_editor/editor/events/itemresizeend_event/)
75+
76+
**Related samples**:
77+
78+
- [Diagram Editor. Managing shapes' moving, rotating and resizing via events](https://snippet.dhtmlx.com/qldjbbm7)

docs/api/diagram_editor/editor/events/beforeitemrotate_event.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,8 @@ editor.events.on("beforeItemRotate", ({ id, angle }) => {
5555
**Related API**:
5656

5757
- [`afterItemRotate`](/api/diagram_editor/editor/events/afteritemrotate_event/)
58-
- [`itemRotateEnd`](/api/diagram_editor/editor/events/itemrotateend_event/)
58+
- [`itemRotateEnd`](/api/diagram_editor/editor/events/itemrotateend_event/)
59+
60+
**Related samples**:
61+
62+
- [Diagram Editor. Managing shapes' moving, rotating and resizing via events](https://snippet.dhtmlx.com/qldjbbm7)

docs/api/diagram_editor/editor/events/itemmoveend_event.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,13 @@ editor.events.on("itemMoveEnd", ({ id, coords }) => {
6060

6161
- The `batch` parameter was added in the v6.0
6262
- The callback function takes an object as a parameter since v6.0
63+
64+
**Related API**:
65+
66+
- [`afterItemMove`](/api/diagram_editor/editor/events/afteritemmove_event/)
67+
- [`beforeItemMove`](/api/diagram_editor/editor/events/beforeitemmove_event/)
68+
69+
**Related samples**:
70+
71+
- [Diagram Editor. Managing shapes' moving, rotating and resizing via events](https://snippet.dhtmlx.com/qldjbbm7)
72+

docs/api/diagram_editor/editor/events/itemresizeend_event.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,8 @@ editor.events.on("itemResizeEnd", ({ id, width, height }) => {
6969
**Related API**:
7070

7171
- [`beforeItemResize`](/api/diagram_editor/editor/events/beforeitemresize_event/)
72-
- [`afterItemResize`](/api/diagram_editor/editor/events/afteritemresize_event/)
72+
- [`afterItemResize`](/api/diagram_editor/editor/events/afteritemresize_event/)
73+
74+
**Related samples**:
75+
76+
- [Diagram Editor. Managing shapes' moving, rotating and resizing via events](https://snippet.dhtmlx.com/qldjbbm7)

0 commit comments

Comments
 (0)