Skip to content

Commit

Permalink
Merge pull request #16 from microbiomedata/15-update-network-diagram-…
Browse files Browse the repository at this point in the history
…to-represent-referrer-ness-with-a-colored-outline

`refgraph`: Add border to nodes that are both incoming and outgoing
  • Loading branch information
eecavanna authored Aug 7, 2024
2 parents fbea454 + affe069 commit 54bf66f
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions refscan/templates/graph.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,40 +72,51 @@
selector: "node.outgoer",
style: {
fontWeight: "bold",
color: "#00ff00", // text color
backgroundColor: "#00ff00",
color: "#00FF00", // text color
backgroundColor: "#00FF00",
}
},
{
selector: "edge.outgoer",
style: {
lineColor: "#00ff00",
targetArrowColor: "#00ff00",
lineColor: "#00FF00",
targetArrowColor: "#00FF00",
width: 3,
}
},
{
selector: "node.incomer",
style: {
fontWeight: "bold",
color: "#ffA500", // text color
backgroundColor: "#ffA500",
color: "#FFA500", // text color
backgroundColor: "#FFA500",
}
},
{
selector: "edge.incomer",
style: {
lineColor: "#ffA500",
targetArrowColor: "#ffA500",
lineColor: "#FFA500",
targetArrowColor: "#FFA500",
width: 3,
}
},
{
selector: "node.incomer.outgoer", // a node that is both an incomer and an outgoer
style: {
fontWeight: "bold",
color: "#00FF00", // text color
backgroundColor: "#00FF00",
borderWidth: 3,
borderStyle: "solid",
borderColor: "#FFA500",
}
},
{
selector: "node.inFocus",
style: {
fontWeight: "bold",
color: "#0000ff", // text color
backgroundColor: "#0000ff"
color: "#0000FF", // text color
backgroundColor: "#0000FF"
}
}
],
Expand Down

0 comments on commit 54bf66f

Please sign in to comment.