Increase width of selected edges only (cytoscape.js)
问题 How can I predefine when I select a few nodes that are connected or simply edges, to make the width of the selected edges be bigger, without affecting the rest of edges of the entire network or the node's width? I predefined this when the nodes or edges are selected: $('#cy').cytoscape({ style: cytoscape.stylesheet() .selector(':selected') .css({ 'background-color': 'black', 'line-color': 'red', 'target-arrow-color': 'black', 'source-arrow-color': 'black', 'opacity': 1 })... but there is no