@antv/g6
Version: 
A Graph Visualization Framework in JavaScript
10 lines (9 loc) • 353 B
TypeScript
import type { NodeLikeData } from '../types';
/**
 * <zh/> 判断节点/组合是否收起
 *
 * <en/> Determine whether the node/combo is collapsed
 * @param nodeLike - <zh/>节点/组合数据 | <en/>Node/Combo data
 * @returns <zh/>是否收起 | <en/>Whether it is collapsed
 */
export declare function isCollapsed(nodeLike: NodeLikeData): boolean;