Hey @lorenzweb! Great idea.
Here’s a recent and great tutorial made by @blackary: How to build your own Streamlit component - although it does involve some JS knowledge!
I would also ping @kmcgrady here because he has made a very similar component in the past!
Hey @lorenzweb !
I created a component like this that might be of help.
It’s not on pypi yet cause I haven’t perfected it. You can use the Wheel file though. Would love your feedback and maybe I can get this on PyPi.
# where YOUR_INPUT is of the following format.
# 'id': ID of person,
# 'parentId': ID of manager,
# 'emoji': emoji icon,
# 'imageUrl': url (should be square picture),
# 'profileUrl': URL to more details,
# 'primary': First line (usually name),
# "secondary": Second line (like title)
# "tertiary": Third line (whatever you like
Each chart would look like this:
(note this is dark mode)
Hope that helps!
Thank you so much for replying! Looks promising. My use case would extend somewhat beyond org-chart with the ability to use the nodes as general containers (eg images/graphs, or even for an st.upload_file widget). Also make the tree stretch horizontally.
Let me have a dive into it
Awesome, highly appreciate the reply