diff --git a/packages/core/src/common/baseCell/behavior.ts b/packages/core/src/common/baseCell/behavior.ts index 456ea34..489a1ec 100644 --- a/packages/core/src/common/baseCell/behavior.ts +++ b/packages/core/src/common/baseCell/behavior.ts @@ -13,6 +13,7 @@ const schema = { }, label: { fill: '#333', + textWrap: { width: '100%' }, }, }, ports: { diff --git a/packages/core/src/common/baseCell/branch.ts b/packages/core/src/common/baseCell/branch.ts index bed06ac..17680e1 100644 --- a/packages/core/src/common/baseCell/branch.ts +++ b/packages/core/src/common/baseCell/branch.ts @@ -20,6 +20,7 @@ const schema = { fontSize: 14, textAnchor: 'middle', textVerticalAnchor: 'middle', + textWrap: { width: '100%' }, }, }, ports: { diff --git a/packages/core/src/common/baseCell/start.ts b/packages/core/src/common/baseCell/start.ts index b9ae380..bd2aa0b 100644 --- a/packages/core/src/common/baseCell/start.ts +++ b/packages/core/src/common/baseCell/start.ts @@ -14,6 +14,7 @@ const schema = { }, label: { fill: '#FFF', + textWrap: { width: '100%' }, }, }, ports: {