@@ -26,6 +26,13 @@ import {
26
26
} from '@numaryhq/storybook' ;
27
27
28
28
import { getRoute , WORKFLOW_ROUTE } from '~/src/components/Layout/routes' ;
29
+ import CustomNode from '~/src/components/Workflows/CustomNode' ;
30
+ import ArrowNode from '~/src/components/Workflows/CustomNode/ArrowNode' ;
31
+ import ActivitiesWrapper from '~/src/components/Workflows/histories/activities/ActivitiesWrapper' ;
32
+ import {
33
+ logsFactory ,
34
+ OrchestrationFactoryLog ,
35
+ } from '~/src/components/Workflows/logs/factory' ;
29
36
import ComponentErrorBoundary from '~/src/components/Wrappers/ComponentErrorBoundary' ;
30
37
import IconTitlePage from '~/src/components/Wrappers/IconTitlePage' ;
31
38
import RoutingChip from '~/src/components/Wrappers/RoutingChip/RoutingChip' ;
@@ -35,13 +42,6 @@ import {
35
42
orchestrationInstanceStatusIconMap ,
36
43
} from '~/src/components/Wrappers/StatusChip/maps' ;
37
44
import Table from '~/src/components/Wrappers/Table' ;
38
- import CustomNode from '~/src/components/Wrappers/Workflows/CustomNode' ;
39
- import ArrowNode from '~/src/components/Wrappers/Workflows/CustomNode/ArrowNode' ;
40
- import ActivitiesWrapper from '~/src/components/Wrappers/Workflows/histories/activities/ActivitiesWrapper' ;
41
- import {
42
- logsFactory ,
43
- OrchestrationFactoryLog ,
44
- } from '~/src/components/Wrappers/Workflows/logs/factory' ;
45
45
import {
46
46
FlowInstance ,
47
47
OrchestrationInstanceStatuses ,
@@ -146,7 +146,7 @@ export default function Index() {
146
146
147
147
const stagesNodes = instance . stages
148
148
. map ( ( stage : any , index : number ) => {
149
- x = x + index === 0 ? initPosInstance : x + 400 ;
149
+ x = x + index === 0 ? initPosInstance : x + 350 ;
150
150
if ( isEmpty ( stage . error ) && stage . name ) {
151
151
const nodes = [
152
152
{
@@ -169,7 +169,7 @@ export default function Index() {
169
169
draggable : false ,
170
170
selectable : false ,
171
171
id : `arrow-node-${ index } ` ,
172
- position : { x : x + 210 , y : 100 } ,
172
+ position : { x : x + 185 , y : 100 } ,
173
173
} as any ) ;
174
174
}
175
175
if ( stage . activities . length > 0 ) {
0 commit comments