You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
872 B

4 months ago
import { EdgeConfig } from './types';
/**
*
* @param nodeId ID
* @param edges
* @param type
*/
export declare const getNeighbors: (nodeId: string, edges?: EdgeConfig[], type?: 'target' | 'source' | undefined) => string[];
/**
*
* @param nodeId ID
* @param edges
*/
export declare const getOutEdgesNodeId: (nodeId: string, edges: EdgeConfig[]) => EdgeConfig[];
/**
*
* @param nodeId ID
* @param edges
*/
export declare const getEdgesByNodeId: (nodeId: string, edges: EdgeConfig[]) => EdgeConfig[];
/**
* ID +
* @param index
*/
export declare const uniqueId: (index?: number) => string;