yFiles Graphs for StreamlitVisualize graph networks with Python and Streamlit
Elevate Your Streamlit Apps with Intuitive Graphing Tools
yFiles Graphs for Streamlit is a free diagram visualization component for Streamlit Apps. You can easily load structures from your favorite Python graph package and benefit from the superior visualization and automatic layouts of our established yFiles SDK.
Get more out of your data by building interactive Streamlit apps that automatically organize your networks, let you explore connections, visually highlight important information, and much more.
yFiles Graphs for Streamlit is a free diagram visualization component for Streamlit Apps. It can import structured data from popular Python graph packages like NetworkX, igraph, PyGraphviz, Neo4j, or any structured list of nodes and edges.
Powerful layout algorithms from our established yFiles SDK are included. You can easily apply the whole range – organic, hierarchic, tree, orthogonal, circular, and radial – to your graph structure. A suitable, clear visualization helps you gain a better understanding of your data.
The component includes interactive features such as automatic layouts, item-level neighborhood exploration, detailed data views, and search capabilities. Aside from interactive features, it also provides a Python API to enable data-driven styling and integrate high-performance layout algorithms to embed a high-fidelity rendering into your Streamlit apps.
What to expect on this page
Why use yFiles Graphs for Streamlit?
Import and Visualize
Import from popular Python graph packages and create revealing yet concise visualizations. Just pass the graph data of NetworkX, graph-tool, igraph, PyGraphviz, or structured node and edge lists to the component and interactively explore your network.
Automatic Layouts
Benefit of yFiles' superior automatic layout algorithms. Easily arrange your graph with different layout styles: Hierarchic, organic (force-directed), tree, orthogonal, circular, or radial. Each layout style highlights different structural features of the graph and helps you gain new insights into the data.
Data-driven mappings
yFiles offers customizable, data-driven mappings for nodes and edges. These mappings let you adjust visual aspects of the diagram - like color, scale, and edge thickness - as well as structural aspects like an item label or position.
Features
Choose graph layout

Select a graph layout from the toolbar to rearrange your graph items automatically.
See item neighborhood

Check the sidebar's Neighborhood tab to explore node connections and view their adjacent items.
Import graph data

Import your graph data from popular Python packages like NetworkX, igraph, PyGraphviz, Neo4j, or any structured list of nodes and edges.
Data-driven visualization

Use your data to adjust the visualization of nodes and edges with versatile data mapping functions.
Visualize data as heatmap

Visualize data as a heatmap overlay for an additional information layer.
Use geospatial data

Use geospatial coordinates to display your data on a map.
Grouping support

Visualize hierarchies in your data.
Feedback?
Let us know about your use case and what features you would like to see in the future.
Contact usMore Features
Free license
Valuable visualizations – at no cost
We are pleased to offer you a perpetual, free, non-transferable license to install and dynamically use this component in your Streamlit apps.
Technical information
yFiles Graphs for Streamlit is an extension for Streamlit Apps
It is based on yFiles - the superior diagramming SDK. You can try a fully-functional version of yFiles free of charge. Explore the whole scope of graph drawing and integrate interactive visualizations into your own software products!
Help
Have more questions?
Find helpful information here:
Frequently Asked Questions
Getting started
Install the yFiles Graphs for Streamlit component with
pip install yfiles_graphs_for_streamlit
Instantiate the component, import structured graph data, and create your own Streamlit App!
you might want to explore
Why, how, what? —Just ask the diagramming experts!
Our team is happy to advise you – no strings attached. Let's talk about your project and find the perfect solution for your needs!
E-mail: hello@yworks.com
Your message has been sent.
Your request could not be sent. Please reload the page and try again.
If the problem persists, please report the error to webmaster@yworks.com.
Learn more in our privacy policy.

