streamlit-agraph icon indicating copy to clipboard operation
streamlit-agraph copied to clipboard

Double Click on nodes actions

Open RzDJafari opened this issue 1 year ago • 3 comments

Hi, hope you are doing well.

Is there any way to define a certain action that happens when a user double-clicks on a node? For example, when a user double-clicks on a node, a new webpage could open.

RzDJafari avatar Jan 10 '24 06:01 RzDJafari

Not sure if this is intended - When I double-click on a node with the current version of streamlit-agraph a new webpage tab opens to an appended path. So if I were running locally at

localhost:8505

A new tab will open to:

localhost:8505/component/streamlit_agraph.agraph/<name_of_node>

jalakoo avatar Feb 18 '24 00:02 jalakoo

Not sure if this is intended - When I double-click on a node with the current version of streamlit-agraph a new webpage tab opens to an appended path. So if I were running locally at

localhost:8505

A new tab will open to:

localhost:8505/component/streamlit_agraph.agraph/<name_of_node>

is there any way to change it?

MaMr4real avatar Feb 19 '24 05:02 MaMr4real

how can I get a click event?

digitalboy avatar Mar 24 '24 16:03 digitalboy