@savantly/ngx-graphexp
Version:
Gremlin client [Tinkerpop] for an Angular app
41 lines (40 loc) • 1.5 kB
TypeScript
import { GraphConfig } from './graphViz/graphConfig';
import { GraphexpService } from './graphexp.service';
import { D3Node } from './nodes/d3Node';
import { GremlinLink } from './nodes/gremlinLink';
import { GremlinNode } from './nodes/gremlinNode';
import { OnInit } from '@angular/core';
import { MatDialog } from '@angular/material';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
export declare class GraphexpComponent implements OnInit {
dialog: MatDialog;
graphexpService: GraphexpService;
graphConfig?: GraphConfig;
searchValue: string;
searchField: string;
graphInfoData: {};
numberOfLayers: number;
showGraphInfo: boolean;
newNode: any;
private graphViz;
readonly selectedNode: any;
readonly nodeNames: BehaviorSubject<string[]>;
readonly nodeProperties: BehaviorSubject<string[]>;
readonly edgeProperties: BehaviorSubject<string[]>;
readonly enableEdit: boolean;
readonly nodeLabels: string[];
readonly linkLabels: string[];
ngOnInit(): void;
openLinkEditDialog(item: GremlinLink): void;
openNodeEditDialog(item?: GremlinNode): void;
createLink(data: GremlinLink): void;
createNode(data: GremlinNode): void;
search(): void;
getFlattenedNodeProperties(node: D3Node): any[];
showNames(): void;
setNumberOfLayers(): void;
clearGraph(): void;
toggleGraphInfo(): void;
getGraphInfo(): void;
constructor(dialog: MatDialog);
}