From f553396eee29e1e0820624345e5d23dc3471a4a4 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Tue, 28 Apr 2020 12:30:45 +0200 Subject: [PATCH] allow strings for overlap and splines --- lib/Graph.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Graph.ts b/lib/Graph.ts index 4d2c53d..24beed0 100644 --- a/lib/Graph.ts +++ b/lib/Graph.ts @@ -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}> {