string
Plugin type
string
The class name of the minimap canvas, which does not take effect when an external container is passed in
HTMLElement | string
The container where the minimap is mounted, if not, it will be mounted to the container where the Graph is located
Partial**<**CSSStyleDeclaration__>
The style of the minimap container, which does not take effect when an external container is passed in
number Default:
128
Delay update time(ms), used for performance optimization
(id: string, elementType: 'node' | 'edge' | 'combo'__) => boolean
Filter, used to filter elements that do not need to be displayed
Partial**<**CSSStyleDeclaration__>
The style of the mask
number | number[] Default:
10
Padding
[number, number] | 'left' | 'right' | 'top' | 'bottom' | 'left-top' | 'left-bottom' | 'right-top' | 'right-bottom' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center' Default:
'right-bottom'
The position of the minimap relative to the canvas
IRenderer
Renderer, default to use Canvas renderer
'key' | ((id: string, elementType: 'node' | 'edge' | 'combo'__) => DisplayObject__) Default:
'key'
The method of generating the thumbnail of the element
[number, number] Default:
[240, 160]
Width and height
destroy(): void;
update(options: Partial<MinimapOptions>): void;