@nodeject/ui-components
Version:
UI library for non-trivial components
14 lines (13 loc) • 438 B
TypeScript
import * as React from 'react';
import { SchedioTreeDataStructure } from './dtos';
export declare type Node = {
data: any;
};
export declare type CytoGraph = {
nodes?: Node[];
};
export interface CytoscapeToSchedioTreeViewProps {
cytoGraph: CytoGraph;
NodeContainer: React.ComponentType;
}
export declare const cytoscapeToSchedioTreeView: (props: CytoscapeToSchedioTreeViewProps) => SchedioTreeDataStructure;