Skip to content
This repository was archived by the owner on Jul 31, 2024. It is now read-only.

Commit 78db82b

Browse files
author
vikas-cldcvr
committed
f-dag node isze updated
1 parent 911d910 commit 78db82b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • packages/flow-lineage/src/components/f-dag

packages/flow-lineage/src/components/f-dag/f-dag.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/ban-ts-comment */
12
import { flowElement, FRoot } from "@ollion/flow-core";
23
import { injectCss } from "@ollion/flow-core-config";
34
import globalStyle from "./f-dag-global.scss?inline";
@@ -154,7 +155,7 @@ export class FDag extends FRoot {
154155
// -------------- //
155156

156157
// set the layout functions
157-
const nodeRadius = 20;
158+
const nodeRadius = 40;
158159
const nodeSize = [nodeRadius * 2, nodeRadius * 2] as const;
159160
// this truncates the edges so we can render arrows nicely
160161
const shape = d3dag.tweakShape(nodeSize, d3dag.shapeEllipse);
@@ -165,6 +166,7 @@ export class FDag extends FRoot {
165166
.sugiyama()
166167
//.grid()
167168
//.zherebko()
169+
//@ts-ignore
168170
.nodeSize(nodeSize)
169171
.gap([nodeRadius, nodeRadius])
170172
.tweaks([shape]);

0 commit comments

Comments
 (0)