reset map trace button

This commit is contained in:
Cindy Chang
2024-08-26 09:42:55 +08:00
parent b5d5b1456d
commit 26295d5b55
3 changed files with 17 additions and 6 deletions

View File

@@ -183,7 +183,7 @@ export default function cytoscapeMap(mapData, dataLayerType, dataLayerOption, cu
'height': 'data(height)',
'width': 'data(width)',
'color': 'data(textColor)',
'line-height': '1',
'line-height': '0.8rem',
'font-size':
function(node) {
return node.data('type') === 'activity' ? 16 : 14;
@@ -234,7 +234,7 @@ export default function cytoscapeMap(mapData, dataLayerType, dataLayerOption, cu
//'control-point-step-size':100, // 從點到點的垂直線,指定貝茲取線邊緣間的距離
'width':'data(lineWidth)',
'line-style':'data(style)',
"text-margin-y": "0.9rem",
"text-margin-y": "0.7rem",
//"text-rotation": "autorotate",
}
},{