Skip to content
This repository was archived by the owner on Nov 8, 2025. It is now read-only.

Commit 7fc735b

Browse files
authored
Feat/colorize actions (#4)
* refactor split css & js * updaate model.svg for react app
1 parent 94be448 commit 7fc735b

File tree

10 files changed

+1037
-840
lines changed

10 files changed

+1037
-840
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ https://pflow-app.fly.dev/
2222
* export to gno.land
2323
* export to solidity
2424
* export to js/ts
25+
* export to python
2526
* support analysis
2627
* export to julia (jupyter notebook)
2728

@@ -30,3 +31,11 @@ https://pflow-app.fly.dev/
3031
See [widget.html](./widget.html) for an example of how to next the pflow viewer in an html page.
3132

3233
[embed-example](https://pflow.dev/embed/?m=petriNet&v=v0&p=place0&i=1&c=3&o=0&x=130&y=207&p=place1&i=0&c=0&o=1&x=395&y=299&t=txn0&x=46&y=116&t=txn1&x=227&y=112&t=txn2&x=43&y=307&t=txn3&x=235&y=306&s=txn0&e=place0&w=1&s=place0&e=txn1&w=3&s=txn2&e=place0&n=1&w=3&s=place0&e=txn3&n=1&w=1&s=txn3&e=place1&w=1)
34+
35+
## Test model with shortURL v1
36+
37+
[test-model](http://localhost:3000/?m=PetriNet&v=v1&p=place0&c=3&i=1&o=0&x=130&y=207&t=txn0&x=46&y=116&t=txn1&x=227&y=112&t=txn2&x=43&y=307&t=txn3&x=235&y=306&s=txn0&e=place0&w=1&s=place0&e=txn1&w=3&s=txn2&e=place0&n=1&w=3&s=place0&e=txn3&n=1&w=1)
38+
39+
```
40+
http://localhost:3000/?m=PetriNet&v=v1&p=place0&c=3&i=1&o=0&x=130&y=207&t=txn0&x=46&y=116&t=txn1&x=227&y=112&t=txn2&x=43&y=307&t=txn3&x=235&y=306&s=txn0&e=place0&w=1&s=place0&e=txn1&w=3&s=txn2&e=place0&n=1&w=3&s=place0&e=txn3&n=1&w=1
41+
```

TODO.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,27 @@ build of app.pflow.dev - no wallet connector - minimal build/viewer
66

77
WIP
88
---
9-
- [ ] Review roadmap.md - consider deploying gnoland-only version first
109
- [ ] gno.land version needs multi-token support
1110
- [ ] url-visualizer on gno.land to build out multi-step actions
12-
- [ ] in this project use ./static/form.html and ./static/model.svg as template
11+
- [ ] fix token colors - changing colors in the editor should change the diagram
12+
- [ ] fix capacity set to 0 does not remove capacity limitation
13+
- [ ] test that permalink gets updated on edit
14+
- [ ] minURL - add support for multi-token colors
15+
16+
17+
DONE
18+
----
19+
- [x] fix editor interactions - issue selecting text and last few lines of code
20+
- [x] in this project use ./static/form.html and ./static/model.svg as template
21+
- [x] Review roadmap.md - consider deploying gnoland-only version first
1322

1423
BACKLOG
1524
-------
1625
- [ ] fix failing tests
1726
- [ ] complete upgrades for colored tokens
1827
- [ ] check backward-compatible support for URL formats
28+
- [ ] consider adopting https://github.com/microsoft/monaco-editor/tree/main for multi-language support
29+
- [ ] review the plan to implement custom lexer/parser for go, julia, solidity, python
1930
```
2031
/?foo=1&bar=1&baz=1
2132
````
@@ -40,5 +51,3 @@ ICEBOX
4051
- [ ] exploring dom updates:update object.data
4152
- [ ] vs live updates inside an embedded SVG using postMessage().
4253
43-
DONE
44-
----

0 commit comments

Comments
 (0)