UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

32 lines (31 loc) 553 B
import Action from '../base'; /** * Link Elements by color * @ignore */ declare class LinkByColor extends Action { private linkGroup; private cache; private getColorScale; private getLinkPath; private addLinkShape; private linkByElement; private removeLink; /** * 连接 elements */ link(): void; /** * 取消连接 elements */ unlink(): void; /** * 清除所有连接 */ clear(): void; /** * 销毁 */ destroy(): void; } export default LinkByColor;