Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const WorkflowDiagramLegend = ({
hideLegend = false,
}: WorkflowDiagramLegendProps) => {
return (
<div className="flex gap-docs_0.5 mt-1">
<div className="flex gap-docs_0.5">
{!hideLegend && (
<>
<div className="flex items-center gap-docs_0.5">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,20 @@ export const WorkflowDiagramList = ({
const clusters = createNodeClusters(workflow.steps)

return (
<div className="flex flex-col gap-docs_0.5 my-docs_1 workflow-list-diagram w-fit">
{Object.entries(clusters).map(([depth, cluster]) => {
const next = getNextCluster(clusters, Number(depth))
<div className="flex flex-col gap-docs_1 my-docs_1 w-fit">
<div className="workflow-list-diagram flex flex-col gap-docs_0.5 w-fit">
{Object.entries(clusters).map(([depth, cluster]) => {
const next = getNextCluster(clusters, Number(depth))

return (
<WorkflowDiagramListDepth cluster={cluster} next={next} key={depth} />
)
})}
return (
<WorkflowDiagramListDepth
cluster={cluster}
next={next}
key={depth}
/>
)
})}
</div>
<WorkflowDiagramLegend hideLegend={hideLegend} />
</div>
)
Expand Down
Loading