You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Code that accesses g$layout can stay for now, revisit in 2029.
340
+
if (name=="layout"&& is.matrix(value)) {
341
+
if (ncol(value) ==2) {
342
+
lifecycle::deprecate_stop("2.0.3", "set_graph_attr(layout = 'matrix(...)')", details="Using a matrix for the `layout` attribute is deprecated. Use vertex attributes `x` and `y` instead.")
343
+
value<-list(x=value[, 1], y=value[, 2])
344
+
} elseif (ncol(value) ==3) {
345
+
lifecycle::deprecate_stop("2.0.3", "set_graph_attr(layout = 'matrix(...)')", details="Using a matrix for the `layout` attribute is deprecated. Use vertex attributes `x`, `y` and `z` instead.")
lifecycle::deprecate_stop("2.0.3", "set_graph_attr(layout = 'matrix(...)')", details="Using a matrix for the `layout` attribute is defunct. Use vertex attributes `x`, `y` and `z` instead.")
0 commit comments