fix: Issues #211 done.

This commit is contained in:
chiayin
2024-03-13 17:09:12 +08:00
parent 6162155997
commit fd49c8a414

View File

@@ -145,7 +145,8 @@ export default function cytoscapeMap(mapData, dataLayerType, dataLayerOption, cu
//'border-radius': '5',
'shape':'data(shape)',
'text-wrap': 'wrap',
'text-max-width':75,
'text-max-width': 'data(width)', // 在 div 內換行
'text-overflow-wrap': 'anywhere', // 在 div 內換行
'text-halign': 'center',
'text-valign': 'center',
'height': 'data(height)',