type
Description
Required. Defines the mode of Diagram initialization
Usage
type: "default" | "org" | "mindmap" | "pert";
Example
const diagram = new dhx.Diagram("diagram_container", {
type: "default" // "org" | "mindmap" | "pert"
});
Diagram modes
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:
- type:"default" is used to visualize relations between some entities
- type:"org" is used to show the structure of a group of people by presenting their relations in a hierarchical order
- type:"mindmap" is used to arrange information on some topic by representing the main concept surrounded by associated ideas
- type:"pert" is used to show the sequences of tasks and projects, and visualize connections between them. This type of diagram is also useful in estimating the critical path and project planning
Change log:
- The "pert" type was added in v6.1
Related articles: