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
Maybe it could be great to unify the node and edge label behavior. At this moment, names don't skip nothing and throw an error with missing. For example:
using Graphs, Plots, GraphRecipes
graph =smallgraph(:karate)
begin
node_labels = Union{Nothing, String}[]
for node invertices(graph)
if node ==1push!(node_labels, "Mr. Hi")
elseif node ==34push!(node_labels, "John A")
elsepush!(node_labels, nothing)
endendendgraphplot(graph, names=node_labels)
The text was updated successfully, but these errors were encountered:
Maybe it could be great to unify the node and edge label behavior. At this moment,
names
don't skipnothing
and throw an error withmissing
. For example:The text was updated successfully, but these errors were encountered: