UNPKG

fybdp-d3-kg

Version:

Knowledge Graph using React and D3.js

44 lines (43 loc) 1.61 kB
import * as d3 from 'd3'; export declare class RangeDragger { protected graph: any; /** variable defs **/ nodeId: string; parent: d3.Selection<any>; x: number; y: number; rootElement: d3.Selection<any>; rootNodeLayer: d3.Selection<any>; pathLayer: d3.Selection<any>; private _mouseEntered; mouseButtonPressed: boolean; nodeElement: d3.Selection<any>; draggerObject: d3.Selection<any>; pathElement: d3.Selection<any>; type: string; private isLoopProperty; constructor(graph: any); parentNode: () => any; hide_dragger: (val: any) => void; hideDragger: (val: any) => void; reDrawEverthing: () => void; updateRange: (newRange: any) => void; setParentProperty: (parentProperty: any, inversed?: boolean | undefined) => void; /** BASE HANDLING FUNCTIONS ------------------------------------------------- **/ id(index: any): string | undefined; svgPathLayer: (layer: any) => void; svgRoot(root: any): any; /** DRAWING FUNCTIONS ------------------------------------------------- **/ drawNode: () => void; updateElementViaDomainDragger: (x: any, y: any) => void; updateElement: () => void; /** MOUSE HANDLING FUNCTIONS ------------------------------------------------- **/ addMouseEvents: () => void; mouseDown: () => void; mouseUp: () => void; mouseEntered(p: any): boolean | this; selectedViaTouch: (val: any) => void; onMouseOver: () => void; onMouseOut: () => void; setElPosition: (x: any, y: any) => void; }