Skip to content

Commit

Permalink
bring back nonformers
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-donarise committed Aug 31, 2024
1 parent 29883dc commit 266a179
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions plot/matrix/matrix.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,15 @@ namespace $.$$ {
matrix[cell.x][cell.y] = {...cell, x: cell.y, y: cell.x} // NB only AB-all
})

if (this.nonformers_checked()) {
for (const item of $mpds_visavis_elements_nonformer.pd_bin()) {
matrix[item[0]][item[1]].z = 1;
matrix[item[1]][item[0]].z = 1; // NB only AB-all
matrix[item[0]][item[1]].nonformer = true;
matrix[item[1]][item[0]].nonformer = true; // NB only AB-all
}
}

return matrix
}

Expand Down

0 comments on commit 266a179

Please sign in to comment.