UNPKG

@alicloud/cloud-charts

Version:

![](https://img.shields.io/npm/v/@alicloud/cloud-charts?color=%23ff8200)

17 lines (16 loc) 697 B
import '@antv/data-set/lib/api/hierarchy'; import '@antv/data-set/lib/connector/hierarchy'; import { Types } from '../types'; /** export 一些字段常量 */ /** 在同层级,同一父节点下的节点索引顺序 */ export declare const NODE_INDEX_FIELD = "nodeIndex"; /** child 节点数量 */ export declare const CHILD_NODE_COUNT = "childNodeCount"; /** 节点的祖先节点 */ export declare const NODE_ANCESTORS_FIELD = "nodeAncestor"; export declare function computeData(data: any, config?: any, ctx?: any): { source: Types.Data; total: any; }; export declare function findValueByKey(obj: any, key: string): any; export declare function transformNodes(nodes: any): Types.Data;