--- id: streamlit-agraph version: "0.0.45" license: unclear license_treatment: unclear maintenance: aging --- # streamlit-agraph — Interactive Graph Vis for Streamlit. License: unclear · Maintenance: aging · Downloads: 343.3K/mo ## What it is and what it does streamlit-agraph wraps vis.js graph visualization into a Streamlit component, letting you render interactive network diagrams directly in Streamlit apps. You define nodes and edges as Python objects, configure layout and physics behavior, and call agraph() to display the result. It supports directed and undirected graphs, hierarchical grouping by node attributes, and physics-based force simulation. The package includes a ConfigBuilder for interactive sidebar tuning of graph appearance and behavior, and optional integration with networkx and rdflib for graph algorithms and RDF triple parsing. However, the TripleStore and GraphAlgos modules are documented as untested and incomplete, so those features should be treated as experimental. Use it for: - Visualize knowledge graphs or RDF data as interactive network diagrams in Streamlit dashboards. - Display relationship networks (social graphs, dependency trees, entity connections) with physics-based layout. - Build interactive graph exploration tools where users can see node connections and adjust layout parameters via sidebar controls. - Prototype network analysis workflows combining Streamlit UI with networkx graph algorithms. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Renders interactive network graphs in Streamlit apps using vis.js, with support for nodes, edges, physics simulation, and hierarchical layouts. Yes, if you need interactive graph visualization in Streamlit and can tolerate an aging codebase. Install friction is low and the core feature set is stable. However, verify the license before production use, avoid the untested TripleStore and GraphAlgos features, and check compatibility with your Streamlit and networkx versions—no recent updates means potential drift from current dependencies. ## Install pip install streamlit-agraph uv add streamlit-agraph poetry add streamlit-agraph ## Installing streamlit-agraph Before you install: Low friction install with three runtime dependencies (streamlit, networkx, rdflib). Package is aging—last release was 2023-01-28, over two years old, though the repository remains active and unarchived. License in practice: License status is unclear; no SPDX identifier or raw license text is available in the metadata. Verify the actual license before use in proprietary or restricted contexts. Quickstart: pip install streamlit-agraph from streamlit_agraph import agraph, Node, Edge, Config nodes = [Node(id="A", label="Node A")] edges = [Edge(source="A", target="B")] config = Config(width=750, height=950, directed=True, physics=True) agraph(nodes=nodes, edges=edges, config=config) Requires Python >=3.6. TripleStore and GraphAlgos features are marked as untested and incomplete in the documentation. Verify before relying: - Whether TripleStore and GraphAlgos features are production-ready or still experimental. - Current compatibility with latest Streamlit and networkx versions. - Whether the package is actively maintained or in maintenance-only mode. ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 343.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags interactive graph visualization streamlit, network diagram vis.js, node edge graph rendering, force-directed graph display, knowledge graph visualization, graph-visualization, streamlit-component, network-diagram [View on SkillFed](https://skillfed.io/packages/streamlit-agraph) · [View on PyPI](https://pypi.org/project/streamlit-agraph/)