Commit 4ccc10f4 authored by Tim Bleimehl's avatar Tim Bleimehl 🤸🏼
Browse files

wip

parent aed793a1
......@@ -74,7 +74,7 @@ meta_logger = NeoMetaLogger(test_graph)
meta_logger.capture()
```
Now we can analize the changes in the graph:
Now we can analyze the changes in the graph:
```python
......@@ -96,16 +96,14 @@ schema_g = py2neo.Graph(name="test_graph")
schema_g.merge(changes_subgraph)
```
Now we can visualize the changes in our schema:
Now we only see the part of our schema that changes:
!["docs/04_schema_changes.png"](docs/04_schema_changes.png)
We see only the part of your schmea that changes.
We can also recall any old state of our graph with
We can also recall any old state of our schema on any point in time where we did a `capture`
```python
meta_logger.capture_points[0].schema
```
This will return a `py2neo.Subgraph` of the schema from the beginning of our script. Same as `call db.schema.visualization` but with a timemachine :)
\ No newline at end of file
This will return a `py2neo.Subgraph` of the schema from the beginning of our script. Same as `call db.schema.visualization` but with a timemachine :)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment