Skip to content

Commit

Permalink
Merge branch 'shared' into ascend
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-at-sri committed Aug 21, 2024
2 parents 90e938e + 213bc31 commit 01216b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/logics/graphImpl/cytoImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ function toCyNode(n: NodeData): cy.NodeDefinition {
'border-width': '3px',
'border-color': color,
'background-image': getIcon(n.type),
'background-fit': 'contain'
'background-fit': 'contain',
'text-max-width' : '100px',
'text-wrap': 'wrap',
'text-valign': 'bottom'
},
position: { x: n.x ? n.x : Math.random(), y: n.y ? n.y : Math.random() },
};
Expand Down

0 comments on commit 01216b6

Please sign in to comment.