Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Jul 10, 2020
1 parent c480abf commit 66c4cc0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions samples/euler.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,19 @@
const atp = cy.nodes().filter(`[sbgnlabel = 'ATP']`);
bb.addPath(atp, null, cy.nodes().diff(atp).left, {
virtualEdges: true,
fillStyle: 'rgba(255, 0, 0, 0.2)',
strokeStyle: 'red',
style: {
fill: 'rgba(255, 0, 0, 0.2)',
stroke: 'red',
},
});
const edges = cy.$('node#glyph20').connectedEdges();
const nodes = edges.connectedNodes();
bb.addPath(nodes, edges, cy.nodes().diff(nodes).left, {
virtualEdges: true,
fillStyle: 'rgba(70, 130, 180, 0.2)',
strokeStyle: 'steelblue',
style: {
fill: 'rgba(70, 130, 180, 0.2)',
stroke: 'steelblue',
},
});
});
</script>
Expand Down

0 comments on commit 66c4cc0

Please sign in to comment.