我想知道是否可以使用 cytoscape 设置边缘标签的背景颜色?我像这样设置其余的边缘样式。
style: cytoscape.stylesheet()
.selector("edge")
.css({
"line-color": "#444444",
"width": 4,
"content": "data(length)"
})
最佳答案
您可以在边缘标签上设置轮廓:http://js.cytoscape.org/#style/labels
关于javascript - Cytoscape 内容背景,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26572619/