christophergandrud / christophergandrud/networkD3

forceNetwork - clickAction feature for the links

Open
#243 1 comment 0 reactions 0 assignees View on GitHub
enhancement feature request forceNetwork
Dominant language
R
Stars
659
Forks
259
PR merge metrics
No merged PRs in 30d

Description

Hi,

Based on my limited understanding of JavaScript, the clickAction for the nodes currently allows you to show in text the characteristics (such as node name, node size or node group) when you click on a particular node, depends on how user write the JavaScript expression for clickAction (i.e. the MyClickScript in example of forceNetwork in the R documentation).

Would it be possible to add a similar clickAction feature for the links? In particular one that allows the user to show variables in the Links input such as link length/width, source/targer or refer to a the corresponding value in a user-specified column in the Links input?

Or alternatively, a hoverAction on the links where it would show a text box (similar to the one in sandkeyNetwork) defined by a user-specified JavaScript expression based on variables in the Links input when user hovers on the links?

Thanks!
Aaron

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.