YourKi
YourKi木 is a streamlit project that allows you to visualize balanced binary trees based on your custom input and preferences.
Install / Use
/learn @anxkhn/YourKiREADME
YourKi木
YourKi木 is a Streamlit project that empowers you to visualize balanced binary trees based on your custom input and preferences. Craft unique and personalized tree visualizations by choosing the traversal type (Preorder, Inorder, or Postorder) and entering the corresponding traversal order. Additionally, you can customize the graph style to create a distinctive and meaningful tree representation.
How to Use
-
Traversal Input:
- Enter your custom string for tree traversal. Spaces will be replaced with hyphens.
-
Traversal Type:
- Select the traversal type from options: Preorder, Inorder, or Postorder.
-
Graph Style:
- Choose between "Default" and "Custom" graph styles.
- Default: Utilizes predefined styles for simplicity.
- Custom: Tailor the graph style to your liking.
- Choose node shape (circle, box, ellipse, triangle, diamond).
- Select node style (filled, solid, dashed, dotted).
- Pick a node fill color using the color picker.
- Choose between "Default" and "Custom" graph styles.
-
Visualize:
- Click the "Visualize" button to generate and display your customized tree.
-
Save Image:
- Save your tree visualization as an image by clicking the "Save This Image" button.
About YourKi木
"YourKi木" is a fusion of "Your" for personalization and "Ki" from Japanese, meaning "tree." In Japanese, "木" represents the profound symbolism of trees. This tool allows users to generate customized trees, sending wishes encoded in tree structures—an homage to the Japanese tradition of gifting trees for life and prosperity.
Dependencies
Getting Started
-
Clone the Repository:
-
Clone the YourKi repository from github.com/anxkhn/YourKi.
git clone https://github.com/anxkhn/YourKi.git
-
-
Install Dependencies:
-
Navigate to the project directory and install the required dependencies using pip.
cd YourKi pip install -r requirements.txt
-
-
Run the Application Locally:
-
Execute the following command to run the Streamlit application on your local machine.
streamlit run app.py
-
Make sure you have a proper environment to run the following command on a Linux environment:
sudo apt install graphviz
This command installs Graphviz on your Linux system.
Check out the Deployed App
Visit yourki.streamlit.app to explore and interact with the YourKi木 app online. Now you can visualize customized binary trees with ease. Adjust traversal input, select traversal types, and customize graph styles to create unique and personalized tree visualizations.
Author
Made with ❤️ by Anas Khan
Feedback and Contributions
Feel free to open issues or contribute to the project on GitHub. Your feedback and contributions are highly appreciated.
Related Skills
node-connect
337.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
