@antv/g6
Version:
A Graph Visualization Framework in JavaScript
8 lines (7 loc) • 424 B
TypeScript
/**
* <zh/> 根据不同的 node,自动计算 icon 的大小之后,乘以一下缩放系数,防止贴的太紧密
*
* <en/> According to the different nodes, the size of the icon is automatically calculated, and then multiplied by the following scaling factor to prevent it from being too close
*/
export declare const ICON_SIZE_RATIO = 0.8;
export declare const ELEMENT_TYPES: readonly ["node", "edge", "combo"];