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
I haven't been able to figure out a way to style links between nodes conditionally, on a node-by-node basis, the same way it's possible to conditionally style the nodes themselves (i.e. #331). I'm trying something like this:
@jacoblindgren the parameter you get in the linkLineDash method is a link object, not a node. So yes you can style the links conditionally this way, but your logic needs to be based on the link, f.e.:
I haven't been able to figure out a way to style links between nodes conditionally, on a node-by-node basis, the same way it's possible to conditionally style the nodes themselves (i.e. #331). I'm trying something like this:
with a JSON structure like this:
with no luck. Is
.linkLineDash()
the wrong place to do this?The text was updated successfully, but these errors were encountered: