Enhances VisJs visualizer and Graph data structure with node.shape and edge.dashes options.

This commit is contained in:
Henning Dieterichs
2020-02-13 16:54:52 +01:00
parent 5acf4e11b6
commit 30a454770b
2 changed files with 9 additions and 3 deletions

View File

@@ -84,6 +84,7 @@ export interface NodeGraphData {
id: string;
label: string;
color?: string;
shape?: "ellipse" | "box";
}
export interface EdgeGraphData {
@@ -92,5 +93,5 @@ export interface EdgeGraphData {
label: string;
id?: string;
color?: string;
weight?: number;
dashes?: boolean;
}