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
Which is obviously incorrect syntax, and it is easy to see why from the template of course. This would require an extra type or two, which I would have called GraphAttribute, NodeAttribute, etc. But of course these functional options names have been taken. Perhaps just:
WithDefaults("graph", "[x=y, b=c, ...]"
This seems like a fairly easy thing to implement and is preferable to having to add attributes to every individual node and edge.
Activity
dominikbraun commentedon May 3, 2023
Thanks a lot, great suggestion! I'll add this in one of the next releases.