Metadata-Version: 2.4
Name: plato-tile-graph
Version: 0.1.0
Summary: Tile dependency DAG — impact analysis, cycle detection, topological sort
Author-email: SuperInstance Fleet <fleet@cocapn.ai>
License: MIT
Project-URL: Homepage, https://github.com/SuperInstance/plato-tile-graph
Project-URL: Repository, https://github.com/SuperInstance/plato-tile-graph
Keywords: plato,tiles,graph,dag,dependency,topological-sort
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# plato-tile-graph

Tile dependency DAG — impact analysis, cycle detection, topological sort.

Part of the [PLATO framework](https://github.com/SuperInstance) — deterministic AI knowledge management through tile-based architecture.

## Installation

```bash
pip install plato-tile-graph
```

## Usage

```python
from plato_tile_graph import TileGraph

g = TileGraph()
g.add_tile("a")
g.add_tile("b")
g.add_tile("c")
g.add_dependency("b", "a")  # b depends on a
g.add_dependency("c", "b")  # c depends on b

g.impact_radius("a")      # 2 (b and c affected)
g.downstream("a")          # ["b", "c"]
g.upstream("c")            # ["a", "b"]
g.has_cycle()              # False
g.topological_sort()       # ["a", "b", "c"]
g.critical_path_length("c") # 3
```

Zero external dependencies. Compatible with Python 3.8+.

[GitHub](https://github.com/SuperInstance/plato-tile-graph)
