diff --git a/types/vis/index.d.ts b/types/vis/index.d.ts index 216f47f212..a7475b159e 100644 --- a/types/vis/index.d.ts +++ b/types/vis/index.d.ts @@ -1205,6 +1205,16 @@ export class Network { */ getBaseEdge(clusteredEdgeId: IdType): IdType; + /** + * For the given clusteredEdgeId, this method will return all the original + * base edge id's provided in data.edges. + * For a non-clustered (i.e. 'base') edge, clusteredEdgeId is returned. + * Only the base edge id's are returned. + * All clustered edges id's under clusteredEdgeId are skipped, + * but scanned recursively to return their base id's. + */ + getBaseEdges(clusteredEdgeId: IdType): IdType[]; + /** * Visible edges between clustered nodes are not the same edge as the ones provided * in data.edges passed on network creation. With each layer of clustering, copies of