Pete Shadbolt
bdf7e45606
Now we can do the complete set of operations.
8 anni fa
Pete Shadbolt
37dd9265ce
Can now sketchily delete nodes. Needs work.
8 anni fa
Pete Shadbolt
1c80b1f394
Selection now works - pretty hacky though.
8 anni fa
Pete Shadbolt
5567258c53
Now I can do CZ gates. Focus sucks though.
8 anni fa
Pete Shadbolt
899b202810
Closed the loop - JS -> Python -> JS
8 anni fa
Pete Shadbolt
352a1d4325
`add_node` is a constant annoyance :rage4:
NetworkX provides `add_node`, we don't, leads to missing
`graph.node["vop"]`. Does this fix it?
8 anni fa
Pete Shadbolt
d6b5f540df
Add & test GraphState.from_json
We needed to implement `GraphState.from_json` so that the server can
track a copy of the client's state. That's a useful byproduct of this
work!
8 anni fa
Pete Shadbolt
e273b3107f
Can message abpserver from JavaScript
8 anni fa
Pete Shadbolt
826a8b26d3
Starting to work on stripping out abp.js
8 anni fa
Pete Shadbolt
9f715aa713
Update server, some small docs
8 anni fa
Pete Shadbolt
85d6c262d9
PIP seems to be kinda working now
8 anni fa
Pete Shadbolt
98e8241d29
Update to v0.3, prepare for pip
8 anni fa
Pete Shadbolt
c9d7fe8d18
Everything works but it is a bit awkward
8 anni fa
Pete Shadbolt
6763052d4f
Trying to get `abserver` to install automatically
8 anni fa
Pete Shadbolt
452430627a
Threaded HTTP server -> no laggy refresh
8 anni fa
Pete Shadbolt
049d36c3d9
Invert `-v` flag, a few small tweaks
8 anni fa
Pete Shadbolt
548f7f59e0
Stopped WebSocket client from hanging :gun:
By default the server echoes messages to all clients.
The fancy.GraphState client was never calling ws.recv()
And hence a buffer was filling up somewhere
And we were hanging.
Adding a ws.recv() fixed the problem.
8 anni fa
Pete Shadbolt
0d78f792c2
Prepare for JS tests
8 anni fa
Pete Shadbolt
2596c65a33
Fast server boot
8 anni fa
Pete Shadbolt
60a5a22c06
Server now serves HTML to localhost:5001 :gun:
And we automatically pop a browser window when the server boots. Nice
8 anni fa
Pete Shadbolt
40c2b3caa9
Tidy up
8 anni fa
Pete Shadbolt
7785d264c9
Add stuff
8 anni fa
Pete Shadbolt
eb4fe7d81e
Move some files, comment visiblegraphstate
8 anni fa
Pete Shadbolt
f2f65ebeb4
Anders and briegel in javascript
8 anni fa
Pete Shadbolt
7bbaa85001
Improvements in speed, interface
8 anni fa
Pete Shadbolt
3a39a49ef0
Looks a little more promising
8 anni fa
Pete Shadbolt
c797b8abd1
Progress
8 anni fa
Pete Shadbolt
a6bb4aae34
Much more efficient, cleaner
8 anni fa
Pete Shadbolt
b24debbd14
Improve server
8 anni fa
Pete Shadbolt
530f914a45
Rudimentary visualization is good
8 anni fa
Pete Shadbolt
f76b0d9595
Server / client architecture is looking good!
8 anni fa
Pete Shadbolt
54d7657374
Now we are getting somewhere with the server
8 anni fa
Pete Shadbolt
58ced9272d
Add from_json, a buncha server/client stuff
8 anni fa
Pete Shadbolt
045cceea65
Fixing, tidying
8 anni fa
Pete Shadbolt
062eb828d5
Make it possible to add vertices without adding edges
8 anni fa
Pete Shadbolt
427d0674b5
It's working now - Ctrl-C, polling etc are good
8 anni fa
Pete Shadbolt
06d7fb9bf3
Maybe daemon was the secret auce
8 anni fa
Pete Shadbolt
2c9254f628
WTF
8 anni fa
Pete Shadbolt
9e597d9c13
Thread shutdown is working now
8 anni fa
Pete Shadbolt
da7ec98e8d
Start prototype server
8 anni fa