[Feature] Engineer Pathway (#256)

Co-authored-by: Tim Lorsbach <tim@lorsba.ch>
Reviewed-on: enviPath/enviPy#256
This commit is contained in:
2025-12-10 07:35:42 +13:00
parent 46b0f1c124
commit 648ec150a9
17 changed files with 990 additions and 127 deletions

View File

@ -524,7 +524,7 @@ function draw(pathway, elem) {
node.append("circle")
// make radius "invisible" for pseudo nodes
.attr("r", d => d.pseudo ? 0.01 : nodeRadius)
.style("fill", "#e8e8e8");
.style("fill", d => d.is_engineered_intermediate ? "#42eff5" : "#e8e8e8");
// Add image only for non pseudo nodes
node.filter(d => !d.pseudo).each(function (d, i) {