@nodeject/ui-components
Version:
UI library for non-trivial components
19 lines (18 loc) • 710 B
TypeScript
import * as React from 'react';
import { CytoNode, SchedioTreeDataStructure } from './types';
export declare function getArraysDifferences<T>(array1: T[], array2: T[]): T[];
export declare const createNewClientNode: (parent: string) => CytoNode;
export declare const toCytoscape: (graph: any) => any;
declare type Node = {
data: any;
};
declare type CytoGraph = {
nodes?: Node[];
};
export interface ConvertFromCytoGraphToSchedioTreeViewProps {
cytoGraph: CytoGraph;
NodeContainer: React.ComponentType;
options?: any;
}
export declare const convertFromCytoGraphToSchedioTreeView: (props: ConvertFromCytoGraphToSchedioTreeViewProps) => SchedioTreeDataStructure;
export {};