Skip to content

Commit

Permalink
services cubes pics
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagameow committed Jun 25, 2024
1 parent 5583c0d commit c411446
Show file tree
Hide file tree
Showing 4 changed files with 141 additions and 52 deletions.
98 changes: 49 additions & 49 deletions src/assets/cubes/ecs-ds-cog.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 82 additions & 0 deletions src/assets/cubes/ecs-ds-gov.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/components/AppFlowChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ onBeforeUnmount(() => {
background-image: url('@/assets/cubes/ecs-ds-cog.svg');
}
.vue-flow__node--ecs-ds-gov {
background-image: url('@/assets/cubes/ecs-ds-gov.svg');
}
.vue-flow__node--ecs-ds-cog-gov {
background-image: url('@/assets/cubes/ecs-ds-cog-gov.svg');
}
Expand Down
9 changes: 6 additions & 3 deletions src/constants/services-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,33 +61,36 @@ export const servicesGraph = {
{
id: '1',
position: { x: 5, y: 5 },
style: {
backgroundImage: 'url("src/assets/cubes/ecs.svg")',
},
class: 'vue-flow__node--ecs-ds',
},
{
id: '2',
position: { x: 10, y: 150 },
class: 'vue-flow__node--ecs-ds-cog-gov',
},
{
id: '3',
position: { x: 15, y: 300 },
sourcePosition: Position.Right,
class: 'vue-flow__node--ecs',
},
{
id: '4',
position: { x: 150, y: 75 },
targetPosition: Position.Left,
class: 'vue-flow__node--ecs-gov',
},
{
id: '5',
position: { x: 150, y: 200 },
targetPosition: Position.Left,
class: 'vue-flow__node--ecs-ds-cog',
},
{
id: '6',
position: { x: 250, y: 150 },
targetPosition: Position.Left,
class: 'vue-flow__node--ecs-ds-gov',
},
],
edges: <Edge[]>[
Expand Down

0 comments on commit c411446

Please sign in to comment.