UNPKG

fybdp-d3-kg

Version:

Knowledge Graph using React and D3.js

35 lines (34 loc) 1.22 kB
import * as d3 from 'd3'; export declare class ShadowClone { protected graph: any; /** variable defs **/ nodeId: string; parent: d3.Selection<any>; s_x: number; s_y: number; e_x: number; e_y: number; rootElement: d3.Selection<any>; rootNodeLayer: d3.Selection<any>; pathLayer: d3.Selection<any>; nodeElement: d3.Selection<any>; markerElement: d3.Selection<any>; pathElement: d3.Selection<any>; type: string; invertedProperty: boolean; constructor(graph: any); parentNode: () => any; setParentProperty: (parentProperty: any, inverted?: boolean | undefined) => void; hideClone: (val: any) => void; hideParentProperty: (val: any) => void; /** BASE HANDLING FUNCTIONS ------------------------------------------------- **/ id(index: any): string | undefined; svgPathLayer: (layer: any) => void; svgRoot(root: any): any; /** DRAWING FUNCTIONS ------------------------------------------------- **/ drawClone(): void; updateElement(): void; setInitialPosition(): void; setPositionDomain: (e_x: any, e_y: any) => void; setElPosition: (s_x: any, s_y: any) => void; }