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

3.3 KiB

title
MiniMapConfig

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

plugins.MiniMapConfig

Hierarchy

  • IPluginBaseConfig

    MiniMapConfig

Properties

className

Optional className: string

Class name of minimap

Overrides

IPluginBaseConfig.className

Defined in

packages/g6/src/stdlib/plugin/minimap/index.ts:21


container

Optional container: HTMLDivElement

Container for minimap

Overrides

IPluginBaseConfig.container

Defined in

packages/g6/src/stdlib/plugin/minimap/index.ts:35


delegateStyle

Optional delegateStyle: Partial<CircleStyleProps & RectStyleProps & EllipseStyleProps & PolygonStyleProps & LineStyleProps & PolylineStyleProps & TextStyleProps & ImageStyleProps & PathStyleProps & SphereGeometryProps & CubeGeometryProps & PlaneGeometryProps & { animates?: IAnimates ; lod?: number ; visible?: boolean }>

Style of delegate shape

Defined in

packages/g6/src/stdlib/plugin/minimap/index.ts:27


graph

Optional graph: IGraph<BehaviorRegistry, ThemeRegistry>

Inherited from

IPluginBaseConfig.graph

Defined in

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


hideEdge

Optional hideEdge: boolean

Whether to hide edges on minimap to enhance performance

Defined in

packages/g6/src/stdlib/plugin/minimap/index.ts:33


mode

Optional mode: "keyShape" | "default" | "delegate"

Mode of minimap

Defined in

packages/g6/src/stdlib/plugin/minimap/index.ts:23


padding

Optional padding: number

Padding of minimap

Defined in

packages/g6/src/stdlib/plugin/minimap/index.ts:31


refresh

Optional refresh: boolean

Whether to refresh minimap

Defined in

packages/g6/src/stdlib/plugin/minimap/index.ts:29


size

Optional size: number[]

Size of minimap

Defined in

packages/g6/src/stdlib/plugin/minimap/index.ts:25


viewportClassName

Optional viewportClassName: string

Class name of viewport

Defined in

packages/g6/src/stdlib/plugin/minimap/index.ts:19