Browse Source

#35 feat: supports node's text wrap

master
smallstonesk 4 years ago
parent
commit
9eea10e210
  1. 1
      packages/core/src/common/baseCell/behavior.ts
  2. 1
      packages/core/src/common/baseCell/branch.ts
  3. 1
      packages/core/src/common/baseCell/start.ts

1
packages/core/src/common/baseCell/behavior.ts

@ -13,6 +13,7 @@ const schema = {
},
label: {
fill: '#333',
textWrap: { width: '100%' },
},
},
ports: {

1
packages/core/src/common/baseCell/branch.ts

@ -20,6 +20,7 @@ const schema = {
fontSize: 14,
textAnchor: 'middle',
textVerticalAnchor: 'middle',
textWrap: { width: '100%' },
},
},
ports: {

1
packages/core/src/common/baseCell/start.ts

@ -14,6 +14,7 @@ const schema = {
},
label: {
fill: '#FFF',
textWrap: { width: '100%' },
},
},
ports: {

Loading…
Cancel
Save