fixed up styling for choose

This commit is contained in:
ari committed 2022-07-12 18:47:18 -04:00
1 parent 084a3585d0
commit 0c5ef76f4b
11 files changed
+283 -61

No files matched your search

@@ -49,11 +49,17 @@ export class DAGElementsState {
return node;
}
public addEdge(from: string, to: string, animated: boolean = false) {
public addEdge(
from: string,
to: string,
animated: boolean = false,
label: string | undefined = undefined
) {
this.data.edges.push({
id: `${from}->${to}`,
source: from,
target: to,
label,
animated,
});
}