Skip to content
Merged

Next #91

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1ef0eb0
[update] fix grammar in group guides
serhiipylypchuk1991 Jul 8, 2026
fcf1547
[update] fix grammar in guides articles
serhiipylypchuk1991 Jul 8, 2026
30d7c41
[fix] correct broken alert() in scrolling example
serhiipylypchuk1991 Jul 8, 2026
937bd08
[update] fix grammar in line_titles articles
serhiipylypchuk1991 Jul 8, 2026
8209777
[update] fix grammar in lines articles
serhiipylypchuk1991 Jul 8, 2026
6d3b03a
[update] fix grammar in shapes articles
serhiipylypchuk1991 Jul 8, 2026
6bc6bfd
[update] fix grammar in swimlanes articles
serhiipylypchuk1991 Jul 8, 2026
8074d6f
[update] fix grammar in root docs pages
serhiipylypchuk1991 Jul 8, 2026
c05149a
[update] fix grammar in export api pages
serhiipylypchuk1991 Jul 8, 2026
6bd2924
[update] fix grammar in inline_editor api pages
serhiipylypchuk1991 Jul 8, 2026
01fca40
[update] fix grammar in selection api pages
serhiipylypchuk1991 Jul 8, 2026
aed5073
[update] fix grammar in data_collection api pages
serhiipylypchuk1991 Jul 8, 2026
1bcc343
[update] fix grammar in diagram api pages
serhiipylypchuk1991 Jul 8, 2026
d339216
[update] fix grammar in diagram_editor api pages
serhiipylypchuk1991 Jul 8, 2026
efd811f
Merge pull request #89 from DHTMLX/sp-next-grammar-skill
serhiipylypchuk1991 Jul 10, 2026
f2c4528
[add] i18n infrastructure for de/zh/ko/ru
serhiipylypchuk1991 Jul 10, 2026
7d298b9
[fix] broken theme link on localized pages
serhiipylypchuk1991 Jul 10, 2026
f17cd27
[add] i18n glossary and unify admonition titles
serhiipylypchuk1991 Jul 10, 2026
18447c6
[fix] number agreement in Related article/sample labels
serhiipylypchuk1991 Jul 10, 2026
1ab6fbb
[add] German translation for docs/api
serhiipylypchuk1991 Jul 12, 2026
087b69d
[add] German translation for docs/api/diagram_editor
serhiipylypchuk1991 Jul 12, 2026
e701fd4
[add] German translation for docs guides and shape/line docs
serhiipylypchuk1991 Jul 12, 2026
5c8f5f4
[add] German translation for top-level docs, finalize de locale
serhiipylypchuk1991 Jul 12, 2026
92695f8
[fix] resolve broken links in de guides translation
serhiipylypchuk1991 Jul 13, 2026
c2c7215
[add] Simplified Chinese translation for all docs
serhiipylypchuk1991 Jul 13, 2026
514fd41
[add] Korean translation for all docs
serhiipylypchuk1991 Jul 13, 2026
b046bb1
[add] Russian translation for all docs
serhiipylypchuk1991 Jul 13, 2026
af28607
[fix] unify callback term in ru locale
serhiipylypchuk1991 Jul 13, 2026
eea7bf2
Merge pull request #90 from DHTMLX/sp-next-add-translations
serhiipylypchuk1991 Jul 15, 2026
b84b0f2
[fix] notation rendering and links in i18n locales
serhiipylypchuk1991 Jul 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion docs/api/cell_manager/add_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ diagram.cellManager.add(0, "down"); // adds cells as rows

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/aftercellsadd_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ diagram.events.on("afterCellsAdd", (swimlaneId) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/aftercellsmove_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ diagram.events.on("afterCellsMove", (swimlaneId) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/aftercellsremove_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ diagram.events.on("afterCellsRemove", (swimlaneId) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/aftercellsvalidation_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ diagram.events.on("afterCellsValidation", (swimlaneId, validate, action) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/beforecellsadd_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ diagram.events.on("beforeCellsAdd", (swimlaneId) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/beforecellsmove_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ diagram.events.on("beforeCellsMove", (swimlaneId) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/beforecellsremove_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ diagram.events.on("beforeCellsRemove", (swimlaneId) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/beforecellsvalidation_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ diagram.events.on("beforeCellsValidation", (swimlaneId, action) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/getcellid_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ diagram.cellManager.getCellId(0, "row"); // -> "r01"

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/getcellindex_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ diagram.cellManager.getCellIndex("r01", "row"); // -> 0

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/getsubheadercellid_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ diagram.cellManager.getSubHeaderCellId("sub01"); // -> "r01"

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/getsubheadercellindex_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ diagram.cellManager.getSubHeaderCellIndex("sub01"); // -> 0

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/getsubheadertype_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ diagram.cellManager.getSubHeaderType("sub01"); // -> "row"

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/move_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ diagram.cellManager.move(0, "down"); // moves cells as rows

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/remove_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ diagram.cellManager.remove(0, "row"); // removes cells as rows

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/resetswimlane_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ diagram.cellManager.resetSwimlane(); // resets active swimlane

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/setswimlane_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ diagram.cellManager.setSwimlane("main"); // sets active swimlane

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/validation_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ diagram.cellManager.validation(0, "down", "move"); // -> true

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](/swimlanes/)
**Related article**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/data_collection/add_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ diagram.data.add({ type: "card", id: "3.2", text: "New Item" });
diagram.data.add({ type: "line", from: "3", to: "3.2" });
~~~

**Related articles**: [Adding an item](guides/manipulating_items.md#adding-an-item)
**Related article**: [Adding an item](guides/manipulating_items.md#adding-an-item)

**Related sample**: [Diagram. Data. Add/delete item](https://snippet.dhtmlx.com/8wi20uop)
2 changes: 1 addition & 1 deletion docs/api/data_collection/change_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ description: You can learn about the change event of data collection in the docu

~~~jsx
change: (
id?: string,
id?: string,
status?: "add" | "update" | "delete" | "load"
updatedItem?: object
) => void;
Expand Down
2 changes: 1 addition & 1 deletion docs/api/data_collection/copy_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: You can learn about the copy method of data collection in the docum
~~~jsx
copy(
id: string | number | array,
index: number,
index: number,
target?: object
): string | number | array;
~~~
Expand Down
6 changes: 3 additions & 3 deletions docs/api/data_collection/eachchild_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ description: You can learn about the eachChild method of data collection in the

~~~jsx
eachChild(
id: string | number,
callback: function,
id: string | number,
callback: function,
isTree?: boolean
): void;
~~~
Expand All @@ -24,7 +24,7 @@ eachChild(

- `id` - (required) the id of the item
- `callback` - (required) a callback function that will be applied to each child of the item
- `isTree` - (optional) defines, whether the function should iterate through all children (of any level) of the specified item. If *false*, the function will iterate only through the first-level children of the item; *true* by default.
- `isTree` - (optional) defines whether the function should iterate through all children (of any level) of the specified item. If *false*, the function will iterate only through the first-level children of the item; *true* by default.

### Example

Expand Down
4 changes: 2 additions & 2 deletions docs/api/data_collection/eachparent_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ description: You can learn about the eachParent method of data collection in the

~~~jsx
eachParent(
id: string | number,
callback: function,
id: string | number,
callback: function,
self?: boolean
): void
~~~
Expand Down
2 changes: 1 addition & 1 deletion docs/api/data_collection/exists_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ const diagram = new dhx.Diagram("diagram_container", {
});
diagram.data.parse(data);

const shape = diagram.data.exists("1");
const shape = diagram.data.exists("1");
~~~
2 changes: 1 addition & 1 deletion docs/api/data_collection/filter_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: You can learn about the filter event of data collection in the docu

### Description

@short: fires after filtering a data collection
@short: fires after filtering a data collection

### Usage

Expand Down
4 changes: 2 additions & 2 deletions docs/api/data_collection/filter_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ description: You can learn about the filter method of data collection in the doc

~~~jsx
filter(
rule?: function,
rule?: function,
config?: {
id?: string,
add?: boolean,
Expand Down Expand Up @@ -77,7 +77,7 @@ To revert the diagram to the initial state, call the `filter()` method without p
diagram.data.filter();
~~~

**Related articles**: [Filtering items](guides/manipulating_items.md#filtering-items)
**Related article**: [Filtering items](guides/manipulating_items.md#filtering-items)

**Related sample**: [Diagram. Data. Filtering shapes](https://snippet.dhtmlx.com/tm43bsgn)

Expand Down
2 changes: 1 addition & 1 deletion docs/api/data_collection/find_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ const shape = diagram.data.find((shape) => {
});
~~~

**Related articles**: [Finding the necessary item](guides/manipulating_items.md#finding-the-necessary-item)
**Related article**: [Finding the necessary item](guides/manipulating_items.md#finding-the-necessary-item)

**Related sample**: [Diagram. Data. Finding necessary shape](https://snippet.dhtmlx.com/sete9z73)
4 changes: 2 additions & 2 deletions docs/api/data_collection/findall_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ findAll(rule: function): array;

### Returns

The method returns an array of matching item objects
The method returns an array of matching item objects

### Example

Expand All @@ -51,4 +51,4 @@ const shapes = diagram.data.findAll(function (shapes) {
});
~~~

**Related articles**: [Finding the necessary item](guides/manipulating_items.md#finding-the-necessary-item)
**Related article**: [Finding the necessary item](guides/manipulating_items.md#finding-the-necessary-item)
6 changes: 3 additions & 3 deletions docs/api/data_collection/getfilters_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: You can learn about the getFilters method of data collection in the

### Description

@short: Returns an object with the applied filters
@short: Returns an object with the applied filters

### Usage

Expand All @@ -23,7 +23,7 @@ getFilters({ permanent?: boolean }): object;
### Returns

The method returns an object with the applied filters, where:
- `key` - the id of a filter
- `key` - the id of a filter
- `value` - an object with the [`rule` and `config` properties](api/data_collection/filter_method.md#parameters)

### Example
Expand All @@ -33,7 +33,7 @@ const diagram = new dhx.Diagram("diagram_container", {
// configuration settings
});
diagram.data.parse(data);

const filters = diagram.data.getFilters(); // gets all the applied filters
console.log(filters);
~~~
Expand Down
2 changes: 1 addition & 1 deletion docs/api/data_collection/getitem_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ const shape = diagram.data.getItem(123);
const text = shape.text;
~~~

**Related articles**: [Getting an item](guides/manipulating_items.md#getting-an-item)
**Related article**: [Getting an item](guides/manipulating_items.md#getting-an-item)
4 changes: 2 additions & 2 deletions docs/api/data_collection/load_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ description: You can learn about the load method of data collection in the docum

~~~jsx
load(
url: string | object,
url: string | object,
driver?: object | string
): promise;
~~~
Expand Down Expand Up @@ -51,6 +51,6 @@ diagram.data.load("../some/data").then(() => {
});
~~~

**Related articles**: [Loading and storing data](guides/loading_data.md)
**Related article**: [Loading and storing data](guides/loading_data.md)

**Related sample**: [Diagram. Data. Data loading](https://snippet.dhtmlx.com/09isp2d8)
4 changes: 2 additions & 2 deletions docs/api/data_collection/move_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ description: You can learn about the move method of data collection in the docum

~~~jsx
move(
id: string | number | array,
index: number,
id: string | number | array,
index: number,
target?: object
): string | number | array;
~~~
Expand Down
12 changes: 6 additions & 6 deletions docs/api/data_collection/parse_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ parse(
data: object[]; // an array of all shapes and connections
~~~
- for the PERT Diagram mode it is an object with:
- the `data` array (for shapes: `"task"`, `"milestone"`, `"project"`)
- the `links` array (for connections between shapes)
- the `data` array (for shapes: `"task"`, `"milestone"`, `"project"`)
- the `links` array (for connections between shapes)
~~~jsx
{
data: object[]; // an array of shapes (tasks, milestones, projects)
Expand Down Expand Up @@ -65,8 +65,8 @@ const data = [
{ id: "1-3", from: "1", to: "3", type: "line" }
];

const diagram = new dhx.Diagram("diagram_container", {
type: "org"
const diagram = new dhx.Diagram("diagram_container", {
type: "org"
});

diagram.data.parse(data);
Expand Down Expand Up @@ -97,8 +97,8 @@ const diagram = new dhx.Diagram("diagram_container", {
diagram.data.parse(dataset);
~~~

**Related articles**: [Loading and storing data](guides/loading_data.md)
**Related article**: [Loading and storing data](guides/loading_data.md)

**Related samples**:
**Related samples**:
- [Diagram. Org chart mode. Basic initialization](https://snippet.dhtmlx.com/5ign6fyy)
- [Diagram. PERT chart. Initialization](https://snippet.dhtmlx.com/4h5fi7xd)
2 changes: 1 addition & 1 deletion docs/api/data_collection/remove_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ diagram.data.parse(data);
diagram.data.remove("2");
~~~

**Related articles**: [Deleting items](guides/manipulating_items.md#deleting-items)
**Related article**: [Deleting items](guides/manipulating_items.md#deleting-items)

**Related sample**: [Diagram. Data. Add/delete item](https://snippet.dhtmlx.com/8wi20uop)
2 changes: 1 addition & 1 deletion docs/api/data_collection/removeall_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ diagram.data.parse(data);
diagram.data.removeAll();
~~~

**Related articles**: [Deleting items](guides/manipulating_items.md#deleting-items)
**Related article**: [Deleting items](guides/manipulating_items.md#deleting-items)

**Related sample**: [Diagram. Data. Add/delete item](https://snippet.dhtmlx.com/8wi20uop)
10 changes: 5 additions & 5 deletions docs/api/data_collection/serialize_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ description: You can learn about the serialize method of data collection in the

### Description

@short: Exports the current diagram data
@short: Exports the current diagram data

### Usage

~~~jsx
serialize(): object[] | { data: object[]; links: object[] };
serialize(): object[] | { data: object[]; links: object[] };
~~~

### Returns

Depending on the diagram mode, the method returns:

- `object[]` - (for the default, org chart and mindmap Diagram modes) an array of objects for each item and link from Diagram
- `object[]` - (for the default, org chart and mindmap Diagram modes) an array of objects for each item and link from Diagram
- `{ data: object[]; links: object[] }` - (for the PERT Diagram mode) an object with:
- the `data` array of objects (for shapes: `"task"`, `"milestone"`, `"project"`)
- the `data` array of objects (for shapes: `"task"`, `"milestone"`, `"project"`)
- the `links` array of objects (for connections between shapes)

### Example
Expand Down Expand Up @@ -51,4 +51,4 @@ const dataset = diagram.data.serialize(); // -> { data: [...], links: [...] };

Note that for the PERT Diagram mode the `links` objects in the exported data object will have [the same types as in the DHTMLX Gantt chart](https://docs.dhtmlx.com/gantt/desktop__link_properties.html). It means that if the type of a link in the Diagram data coincides with some of the Gantt links types, it will remain the same during serialization. If the link type isn't specified or set differently (for example, `type: "line"`), it will be converted into `type: "0"`.

**Related articles**: [Saving and restoring state](guides/loading_data.md#saving-and-restoring-state)
**Related article**: [Saving and restoring state](guides/loading_data.md#saving-and-restoring-state)
4 changes: 2 additions & 2 deletions docs/api/data_collection/update_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The method can't be used to change the *id* or *type* of the item

~~~jsx
update(
id: string | number,
id: string | number,
newItem: object
): void;
~~~
Expand All @@ -39,4 +39,4 @@ diagram.data.parse(data);
diagram.data.update(123, { text:"New text" });
~~~

**Related articles**: [Updating an item](guides/manipulating_items.md#updating-an-item)
**Related article**: [Updating an item](guides/manipulating_items.md#updating-an-item)
Loading
Loading