diff --git a/frontend/src/features/schema/helpers/dataMapper.ts b/frontend/src/features/schema/helpers/dataMapper.ts index 87df57a..f84e096 100644 --- a/frontend/src/features/schema/helpers/dataMapper.ts +++ b/frontend/src/features/schema/helpers/dataMapper.ts @@ -152,7 +152,7 @@ export function buildGraphData( }, }, label: { - position: { name: 'left', args: { x: -8 } }, + position: { name: 'top', args: { y: -8 } }, }, }, right: { @@ -167,7 +167,7 @@ export function buildGraphData( }, }, label: { - position: { name: 'right', args: { x: 8 } }, + position: { name: 'top', args: { y: -8 } }, }, }, }, @@ -232,7 +232,7 @@ export function buildGraphData( }, }, label: { - position: { name: 'left', args: { x: -6 } }, + position: { name: 'top', args: { y: -6 } }, }, }, right: { @@ -247,7 +247,7 @@ export function buildGraphData( }, }, label: { - position: { name: 'right', args: { x: 6 } }, + position: { name: 'top', args: { y: -6 } }, }, }, }, diff --git a/frontend/src/features/schema/ports/portConfig.ts b/frontend/src/features/schema/ports/portConfig.ts index 5ec6cc6..ca3aa08 100644 --- a/frontend/src/features/schema/ports/portConfig.ts +++ b/frontend/src/features/schema/ports/portConfig.ts @@ -14,8 +14,8 @@ export const portGroups = { }, label: { position: { - name: 'left', - args: { x: -8, y: 0 }, + name: 'top', + args: { y: -8 }, }, }, }, @@ -32,8 +32,8 @@ export const portGroups = { }, label: { position: { - name: 'right', - args: { x: 8, y: 0 }, + name: 'top', + args: { y: -8 }, }, }, },