| @@ -19,7 +19,6 @@ The URL contains a unique ID such as `1ed6cc3c-65e4-4f6a-ab14-5e8c01d4593b`. You | |||||
| ## Python package | ## Python package | ||||
| The underlying graph state simulator is based on Anders' and Briegel's method. Full docs for the Python package are [here](https://peteshadbolt.co.uk/static/abp/). You can install it like this: | The underlying graph state simulator is based on Anders' and Briegel's method. Full docs for the Python package are [here](https://peteshadbolt.co.uk/static/abp/). You can install it like this: | ||||
| :::bash | |||||
| $ pip install abp | $ pip install abp | ||||
| @@ -27,7 +26,6 @@ The underlying graph state simulator is based on Anders' and Briegel's method. F | |||||
| Here's a complete example of sending a state from Python to the server: | Here's a complete example of sending a state from Python to the server: | ||||
| :::python | |||||
| import abp | import abp | ||||
| # Make a new graph and automatically position the nodes | # Make a new graph and automatically position the nodes | ||||
| @@ -87,7 +85,6 @@ Each `node` has | |||||
| Here's an example of a graph `(A-B C)`: | Here's an example of a graph `(A-B C)`: | ||||
| :::python | |||||
| {'adj': {0: {1: {}}, 1: {0: {}}, 2: {}}, | {'adj': {0: {1: {}}, 1: {0: {}}, 2: {}}, | ||||
| 'node': { | 'node': { | ||||
| 0: {'position': {'x': 0, 'y': 0, 'z': 0}, 'vop': 0}, | 0: {'position': {'x': 0, 'y': 0, 'z': 0}, 'vop': 0}, | ||||