allow strings for overlap and splines

This commit is contained in:
Timo Hocker 2020-04-28 12:30:45 +02:00
parent da6c26e8e0
commit f553396eee

View File

@ -20,8 +20,8 @@ export class Graph extends Element {
public style?: GraphStyles;
public color?: Color;
public directional = true;
public overlap?: boolean;
public splines?: boolean;
public overlap?: boolean | string;
public splines?: boolean | string;
public layout?: GraphLayouts;
private get attributes (): Array<{name: string; value: string}> {