Skip to content

Commit

Permalink
Fix pre-assigned colors changing layers' colors.
Browse files Browse the repository at this point in the history
  • Loading branch information
zaynabhammoud committed Jun 2, 2021
1 parent 9eb3be0 commit 5e592cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: mully
Type: Package
Title: Create, Modify and Visualize Multi-Layered Networks
Version: 2.1.31
Version: 2.1.32
Author: Zaynab Hammoud
Maintainer: Zaynab Hammoud <[email protected]>
Description: Allows the user to create graph with multiple layers. The user can also modify the layers, the nodes, and the edges. The graph can also be visualized.
Expand Down
1 change: 1 addition & 0 deletions R/mully_visualization.R
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ plot3d <- function(g, layers = TRUE,
layout1 = layout[order(V(g)$n), ]
}
clrs = unique(V(g)$color[order(V(g)$n)])
clrs=clrs[-which(clrs%in%assignedColors)]
temp = 1
iColr=1
for (i in 1:dim(g$layers)[1]) {
Expand Down

0 comments on commit 5e592cf

Please sign in to comment.