g6/packages/site/docs/apis/plugins/WIP-HistoryConfig.en.md
2023-11-07 21:39:59 +08:00

1.8 KiB

title
HistoryConfig

Overview - v5.0.0-alpha.9 / Modules / plugins / HistoryConfig

plugins.HistoryConfig

The HistoryConfig interface contains two properties: enableStack and stackCfg.

  • enableStack is an optional boolean value that indicates whether to enable the stack.
  • stackCfg is a required StackCfg type, representing the stack configuration.

Hierarchy

  • IPluginBaseConfig

    HistoryConfig

Properties

className

Optional className: string

Inherited from

IPluginBaseConfig.className

Defined in

packages/g6/src/types/plugin.ts:6


container

Optional container: string | HTMLDivElement

Inherited from

IPluginBaseConfig.container

Defined in

packages/g6/src/types/plugin.ts:5


enableStack

Optional enableStack: boolean

Defined in

packages/g6/src/stdlib/plugin/history/index.ts:15


graph

Optional graph: IGraph<BehaviorRegistry, ThemeRegistry>

Inherited from

IPluginBaseConfig.graph

Defined in

packages/g6/src/types/plugin.ts:7


stackCfg

stackCfg: StackCfg

Defined in

packages/g6/src/stdlib/plugin/history/index.ts:16