UNPKG

fybdp-d3-kg

Version:

Knowledge Graph using React and D3.js

23 lines (22 loc) 615 B
import { EdgeProperty } from './EdgeProperty'; import { BaseLink } from './BaseLink'; export declare class Label { property: EdgeProperty; link: BaseLink; _id: string; _text: string; labelElement: any; x: any; y: any; fx: any; fy: any; constructor(property: EdgeProperty, link: BaseLink); getEdgeProperty: () => EdgeProperty; actualRadius(): number; draw(container: any): EdgeProperty; toggleFocus(): boolean; unPin(): void; getInverse(): EdgeProperty; setInverse(p: EdgeProperty): void; equals(other: Label): boolean; }