adding weblink to primary connection list in D3plus network

20 views
Skip to first unread message

vipulka...@gmail.com

unread,
Feb 19, 2020, 6:33:33 PM2/19/20
to d3plus
Hi All,

I am building a network visualization. Following are my input varibles:

var sample_data = [{"index":"ABL1","fill":"#0000ff"},{"index":"ATM","fill":"#ffff00"}]

var position = [{"index":"ABL1","x":105.325905,"y":-213.6294},{"index":"ATM","x":-189.84073,"y":-72.35199}]

var connections = [{"index":0,"source":"ABL1","target":"ATM","pubmed":"<a href='https:\/\/www.ncbi.nlm.nih.gov\/pubmed\/?term=9168116' target='_blank'>Click Here<\/a>","experiment":"Low Throughput"}]

While I am able to build the network, I am struggling to embed the "pubmed" link to the primary connection list generated upon clicking a node in the graph (as shown in the attached figure). Is there a way to include this information?

Screen Shot 2020-02-19 at 11.31.02 PM.png

Thanks a lot in advance.

Best 
Vipul
Reply all
Reply to author
Forward
0 new messages