强制在Vega中使用过滤器进行直接布局

huangapple go评论60阅读模式
英文:

Force direct layout with filter in Vega

问题

I'm using Vega to visualize networks interactively.

I would like to apply interactive node filtering in my visualization.

In this case, I have attempted to filter nodes from a large dataset based on the "Nodes_TopN" value. Although the first plot appears correctly, the subsequent plots either fail to appear or display incorrect data.

英文:

I'm using Vega to visualize networks interactively.

I would like to apply interactive node filtering in my visualization.

In this case, I have attempted to filter nodes from a large dataset based on the "Nodes_TopN" value. Although the first plot appears correctly, the subsequent plots either fail to appear or display incorrect data.

答案1

得分: 1

I'm sorry, but the text you provided appears to be code and contains no translatable content. If you have any other non-code text that needs translation, please provide it, and I'll be happy to help with the translation.

英文:

The following will correctly limit the number of visible nodes.

Link

Unfortunately, I think there is a bug with the linkpath require property (or at least I never got it to work). I have documented the issue and the work around here.

huangapple
  • 本文由 发表于 2023年6月15日 06:21:37
  • 转载请务必保留本文链接:https://go.coder-hub.com/76477935.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定