Skip to content

Commit 49718a7

Browse files
committed
[update] what's new and the type config page
1 parent e2551df commit 49718a7

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

docs/api/diagram/type_property.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,17 @@ description: You can learn about the type property in the documentation of the D
1616
type: "default" | "org" | "mindmap" | "pert";
1717
~~~
1818

19-
### Details
19+
### Example
2020

21-
DHTMLX Diagram can be initialized in one of the following modes:
21+
~~~jsx
22+
const diagram = new dhx.Diagram("diagram_container", {
23+
type: "default" // "org" | "mindmap" | "pert"
24+
});
25+
~~~
26+
27+
### Diagram modes
28+
29+
DHTMLX Diagram can be initialized in one of the following modes: "default", "org", "mindmap" or "pert". To apply the necessary mode, specify the corresponding value of the **type** property:
2230

2331
- **type:"default"** is used to visualize relations between some entities
2432

docs/assets/pert_mode.png

-41.7 KB
Binary file not shown.

docs/assets/pert_mode_gantt.png

-67.6 KB
Binary file not shown.

docs/whats_new.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ If you are updating Diagram from an older version, check [Migration to Newer Ver
1010

1111
## Version 6.1
1212

13-
Released on November , 2025
13+
Released on November 25, 2025
1414

1515
### New functionality
1616

1717
- The ability to create Diagram PERT charts from Gantt data sets:
18-
- [a new Diagram type: "pert"](/diagram/#diagram-in-the-pert-mode)
19-
- [new types of shapes: "task" and "milestone"](/shapes/default_shapes/#shapes-in-the-pert-mode)
20-
- [a new group type: "project"](/groups/#grouping-shapes-in-the-pert-mode) (for grouping tasks and milestones)
18+
- [a new PERT mode](/diagram/#diagram-in-the-pert-mode) set via the [new type: `"pert"` ](/diagram/api/diagram/type_property/)
19+
- [new types of shapes: `"task"` and `"milestone"`](/shapes/default_shapes/#shapes-in-the-pert-mode)
20+
- [a new group type: `"project"`](/groups/#grouping-shapes-in-the-pert-mode) (for grouping tasks and milestones)
2121
- Diagram Editor. The ability to manage keyboard shortcuts (hotkeys) within the editor:
2222
- a new [`hotkeys`](/api/diagram_editor/editor/config/hotkeys_property/) configuration property allows modifying or switching off the existing hotkeys, as well as adding new ones
2323
- Diagram Editor. The ability to manage shapes resizing and rotating via a set of new events:
@@ -38,7 +38,7 @@ Released on November , 2025
3838
- Diagram/Diagram Editor API. The ability to define the connection type of the lines:
3939
- a new `connectType` parameter for the [`lineConfig`](/api/diagram/lineconfig_property/) configuration property of Diagram
4040
- a new `connectType` parameter for the [`lineConfig`](/api/diagram_editor/editor/config/lineconfig_property/) configuration property of Diagram Editor
41-
- Export API. The [pdf()](/api/export/pdf_method/) and [png()](/api/export/png_method/) export functions return a promise of data export
41+
- Export API. The [`pdf()`](/api/export/pdf_method/) and [`png()`](/api/export/png_method/) export functions return a promise of data export
4242

4343
### Fixes
4444

0 commit comments

Comments
 (0)