type

defines the type of a diagram

string type;

Values

  • "default", "org", "mindmap"
  • Example

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


    Default value:

    "default"
    Details
    • The type:"default" option initializes a Diagram.
    • The type:"org" option is used to initialize an organizational chart (an organogram).
    • The type:"mindmap" option is used to initialize a mind map diagram.
    See also
    Change log

    The "mindmap" and "default" values have been added in v3.1.

    Back to top