Skip to content

Commit

Permalink
edge styling
Browse files Browse the repository at this point in the history
  • Loading branch information
nomelancholy committed Dec 26, 2019
1 parent ca3926f commit 1ee9944
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/index.js
Expand Up @@ -132,17 +132,18 @@ var cy = cytoscape({
selector: 'node',
style: {
'background-color': '#666',
'label': 'data(id)'
'label': 'data(label)'
}
},

{
selector: 'edge',
style: {
'width': 3,
'curve-style': 'bezier',
'line-color': '#ccc',
'target-arrow-color': '#ccc',
'target-arrow-shape': 'triangle'
'source-arrow-color': '#ccc',
'source-arrow-shape': 'triangle'
}
}
],
Expand Down

0 comments on commit 1ee9944

Please sign in to comment.