diff --git a/DESCRIPTION b/DESCRIPTION index 3524cbe..b312609 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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 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. diff --git a/R/mully_visualization.R b/R/mully_visualization.R index 8497e72..4eab129 100644 --- a/R/mully_visualization.R +++ b/R/mully_visualization.R @@ -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]) {