dkapur17 / streamlit-flow

Streamlit Component to quickly create Interactive Flow Diagrams using React Flow
https://stflow.streamlit.app
50 stars 6 forks source link

Hide React flow water mark #7

Closed shuZro closed 5 days ago

shuZro commented 1 week ago

Is there a way to hide the react flow water mark?

dkapur17 commented 1 week ago

While it is supported in reactflow, the option has not been implemented in this library yet. Will add this to the next release.

shuZro commented 1 week ago

Do you have plans for editable text on the nodes? Do you have to roadmap available somewhere?

dkapur17 commented 1 week ago

It's a little hard to accommodate various types of nodes into the library since ReactFlow expects you to write JSX for any custom node you want to make, but there is no easy way to bring this paradigm into python. Regardless, as of now there is no plan to give nodes the ability to contain arbitrary components, which includes editable text boxes.

As for the roadmap - there isn't one yet 😬, at least nothing concrete. It's more of whatever comes up as feature requests or some new features that I feel might be useful to add.

dkapur17 commented 5 days ago

Added support for this in v1.2.8. Use the hide_watermark property on streamlit_flow to show or hide it as needed.