UNPKG

@savantly/ngx-graphexp

Version:

Gremlin client [Tinkerpop] for an Angular app

55 lines (54 loc) 2.05 kB
import { GraphLayers } from './graphLayers'; import { GraphexpService, ArrangedGraphData } from '../graphexp.service'; import { D3Node } from '../nodes/d3Node'; import { ConnectionCreatedEvent } from './ConnectionCreatedEvent'; import { GraphConfig } from './graphConfig'; import { GraphNodes } from './graphNodes'; import { Observable } from 'rxjs/Observable'; import { BehaviorSubject } from 'rxjs/BehaviorSubject'; export declare class GraphViz { graphexpService: GraphexpService; private _config; private _graphRoot; private _graphWidth; private _graphHeight; private _simulation; private _graphLayers; private _graphShapes; private _graphNodes; private _graphLinks; dragLine: any; readonly state: { shiftNodeDrag: boolean; }; selectedNode: BehaviorSubject<any>; connectionCreated: Observable<ConnectionCreatedEvent>; createNodeEvent: BehaviorSubject<D3Node>; readonly config: GraphConfig; readonly simulation: any; readonly graphRoot: any; readonly nodeModels: D3Node[]; readonly graphLayers: GraphLayers; readonly graphNodes: GraphNodes; readonly linkModels: D3Node[]; readonly selectLinks: any; readonly selectEdgePaths: any; readonly selectEdgeLabels: any; /** * get all active nodes in the graph */ readonly selectGraphNodes: any; clear(): void; addzoom(svg: any): void; simulationStart(center_f: any): any; refreshData(arrangedData: ArrangedGraphData, center_f: any, with_active_node: any): void; displayShapeProperty(prop: any): void; attachEnabledProperties(graph_objects: any, prop_name: any, prop_id_nb: any, item: any): number; getPropertyValue(d: any, prop_name: any, item: any): any; colorize(data: any): void; displayInfo(data: any): void; loadRelatedNodes(d: any): void; addSvgDefinitions(svg: any): void; init(label: any): void; constructor(graphexpService: GraphexpService, _config: GraphConfig); }