jsMind

layout.vspace Option

Option Name Data Type Default Value Description
layout.vspace number 20 Vertical space between nodes

Option Description

The vspace option is used to set the vertical spacing between nodes in the mind map. The default value for this option is 20 pixels..

Usage Example

Below is an example of setting the vspace option:

var options = {
    container: 'jsmind_container',
    editable: true,
    theme: 'primary',
    layout: {
        vspace: 40 // Set vertical spacing between nodes to 40 pixels
    }
};

In the above example, the vspace option is set to 40, which means the vertical spacing between nodes in the mind map will be 40 pixels.

vspace = 20 (default) vspace = 40
image image

copyright notice

Reproduction and deduction are prohibited.

The jsMind project is still being updated and the corresponding documentation is updated at the same time as the version is updated. In order to avoid confusion to the user, it is forbidden to reprint this document without written permission and to make changes of any kind to this document.