import streamlit as st import streamlit.components.v1 as components st.title("Simple Rete.js Flow Editor") # Define the HTML and JavaScript code html_code = """ Rete.js Flow Editor
""" # Embed the HTML into the Streamlit app components.html(html_code, height=600, scrolling=True)