Javascript 细胞景观内容背景
我想知道是否可以用cytoscape设置边缘标签的背景色?我正在像这样设置其余的边缘样式Javascript 细胞景观内容背景,javascript,cytoscape.js,Javascript,Cytoscape.js,我想知道是否可以用cytoscape设置边缘标签的背景色?我正在像这样设置其余的边缘样式 style: cytoscape.stylesheet() .selector("edge") .css({ "line-color": "#444444", "width": 4, "content": "data(length)" })
style: cytoscape.stylesheet()
.selector("edge")
.css({
"line-color": "#444444",
"width": 4,
"content": "data(length)"
})
可以在边缘标签上设置轮廓: