export interface HierarchyApi { root?: any; getAllNodes(): any[]; getAllLinks(): any[]; getAllEdges(): any[]; }