fybdp-d3-kg
Version:
Knowledge Graph using React and D3.js
29 lines (28 loc) • 600 B
TypeScript
export declare namespace d3Types {
type d3Node = {
id: string;
type: string;
properties: {
value: string;
};
params?: any;
labels: any[];
};
type d3Link = {
id: string;
source: string;
target: string;
type: string;
properties: {
value: string;
};
params?: any;
};
type d3Graph = {
nodes: any[];
links: any[];
nodesAttribute?: any[];
linksAttribute?: any[];
metrics?: object;
};
}