WIP: depthFirstSearchMatchTwoPaths can have one true
This commit is contained in:
@@ -165,14 +165,14 @@ export default function cytoscapeMap(mapData, dataLayerType, dataLayerOption, cu
|
||||
'text-max-width': 'data(width)', // 在 div 內換行
|
||||
'text-overflow-wrap': 'anywhere', // 在 div 內換行
|
||||
'text-margin-x': function(node) {
|
||||
return node.data('type') === 'activity' ? -10 : 0;
|
||||
return node.data('type') === 'activity' ? -5 : 0;
|
||||
},
|
||||
'text-halign': 'center',
|
||||
'text-valign': 'center',
|
||||
'height': 'data(height)',
|
||||
'width': 'data(width)',
|
||||
'color': '#001933',
|
||||
'line-height': '0.8rem',
|
||||
'line-height': '0.7rem',
|
||||
'font-size':
|
||||
function(node) {
|
||||
return node.data('type') === 'activity' ? 14 : 22;
|
||||
|
||||
Reference in New Issue
Block a user