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 style?: GraphStyles;
public color?: Color; public color?: Color;
public directional = true; public directional = true;
public overlap?: boolean; public overlap?: boolean | string;
public splines?: boolean; public splines?: boolean | string;
public layout?: GraphLayouts; public layout?: GraphLayouts;
private get attributes (): Array<{name: string; value: string}> { private get attributes (): Array<{name: string; value: string}> {