Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double Click on nodes actions #51

Open
RzDJafari opened this issue Jan 10, 2024 · 3 comments
Open

Double Click on nodes actions #51

RzDJafari opened this issue Jan 10, 2024 · 3 comments

Comments

@RzDJafari
Copy link

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.

@jalakoo
Copy link

jalakoo commented Feb 18, 2024

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>

@controllocked
Copy link

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?

@digitalboy
Copy link

how can I get a click event?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants