fix: Issues #211 done.
This commit is contained in:
@@ -145,7 +145,8 @@ export default function cytoscapeMap(mapData, dataLayerType, dataLayerOption, cu
|
|||||||
//'border-radius': '5',
|
//'border-radius': '5',
|
||||||
'shape':'data(shape)',
|
'shape':'data(shape)',
|
||||||
'text-wrap': 'wrap',
|
'text-wrap': 'wrap',
|
||||||
'text-max-width':75,
|
'text-max-width': 'data(width)', // 在 div 內換行
|
||||||
|
'text-overflow-wrap': 'anywhere', // 在 div 內換行
|
||||||
'text-halign': 'center',
|
'text-halign': 'center',
|
||||||
'text-valign': 'center',
|
'text-valign': 'center',
|
||||||
'height': 'data(height)',
|
'height': 'data(height)',
|
||||||
|
|||||||
Reference in New Issue
Block a user