Mind

The mind map format of graph.

Usage

import GGEditor, { Mind } from 'gg-editor';

<GGEditor>
  <Mind />
</GGEditor>

API

Property Description Type Default
data The initial data. object -
graph To configurate the graph. See more on G6 Graph API (Chinese). object -
shortcut To set the shortcut key Built-in Commands. object -

Shortcut

Exmaple:

  shortcut: {
    zoomIn: true,   // To turn on the zoom-in shortcut
    zoomOut: false, // To turn off the zoom-out shortcut
  }

Events

See more on PageEvents.