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

Commit

Permalink
f-dag-app more nodes added
Browse files Browse the repository at this point in the history
  • Loading branch information
vikas-cldcvr committed Jul 2, 2024
1 parent 0a8a5f5 commit 4fdac48
Showing 1 changed file with 57 additions and 11 deletions.
68 changes: 57 additions & 11 deletions stories/flow-lineage/dag-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,21 @@ const dagConfig: FDagConfig = {
icon: "p-mysql",

group: "group7"
},
{
id: "node71",
label: "Node 71",
icon: "p-asana"
},
{
id: "node72",
label: "Node 72",
icon: "p-prometheus"
},
{
id: "node73",
label: "Node 73",
icon: "p-opa"
}
],
links: [
Expand Down Expand Up @@ -153,6 +168,38 @@ const dagConfig: FDagConfig = {
to: {
elementId: "node8"
}
},
{
from: {
elementId: "node7"
},
to: {
elementId: "node10"
}
},
{
from: {
elementId: "node9"
},
to: {
elementId: "group6"
}
},
{
from: {
elementId: "node6"
},
to: {
elementId: "node91"
}
},
{
from: {
elementId: "node11"
},
to: {
elementId: "group7"
}
}
],
groups: [
Expand Down Expand Up @@ -192,8 +239,7 @@ const dagConfig: FDagConfig = {
x: 20,
y: 20
},
group: "group1",
layoutDirection: "vertical"
group: "group1"
},
{
id: "group5",
Expand All @@ -216,11 +262,11 @@ const dagConfig: FDagConfig = {
x: 20,
y: 20
},
layoutDirection: "vertical"
// placement: {
// elementId: "group1",
// position: "after"
// }
layoutDirection: "vertical",
placement: {
elementId: "group1",
position: "after"
}
},
{
id: "group6",
Expand All @@ -229,11 +275,11 @@ const dagConfig: FDagConfig = {
spacing: {
x: 20,
y: 20
},
placement: {
elementId: "node8",
position: "after"
}
// placement: {
// elementId: "node8",
// position: "after"
// }
}
],
spacing: {
Expand Down

0 comments on commit 4fdac48

Please sign in to comment.