view README.md @ 121:8a0559bcbe7e

shorthand import
author drewp@bigasterisk.com
date Wed, 24 May 2023 12:49:01 -0700
parents 12bffd51450f
children
line wrap: on
line source

# What's here

## GraphFile

Connect a subgraph to a file, loading data from that file at starting, rewriting that file upon graph changes, and rereading it upon file changes (e.g. from your text editor).

## SyncedGraph

An rdf graph container with these features:
- CurrentStateGraphApi: get a readonly rdflib.Graph-like
- GraphEditApi: higher-level API for editing the graph, including patchObject, patchSubgraph, patchMapping
- AutoDepGraphApi: experimental API that watches what graph reads your code makes, then calls your code again if those results would have changed (see knockoutjs, mobx, mopyx)

# Usage

Configure and run with your own launcher file like this:

```
(look at demo.py)
```

Then run like this:

```
uvicorn launcher:app
```