https://github.com/moethu/gocodegraph
graph solver for a visual coding environment in go
https://github.com/moethu/gocodegraph
Last synced: 2 months ago
JSON representation
graph solver for a visual coding environment in go
- Host: GitHub
- URL: https://github.com/moethu/gocodegraph
- Owner: moethu
- License: mit
- Created: 2019-09-21T12:08:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-09T20:35:27.000Z (over 2 years ago)
- Last Synced: 2025-02-12T18:54:00.618Z (4 months ago)
- Language: JavaScript
- Size: 7.17 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gocodegraph
gocodegraph is an engine for a visual coding environment in go.
[](https://goreportcard.com/report/github.com/moethu/gocodegraph)
The current implementation first initializes all nodes which do require inputs in individual go routines. It uses channels to represent edges of the graph ```Channel chan interface{}```, so each of the routines is awaiting inputs on channels. It then initializes all nodes which do not require inputs, which are ready to be solved. Once solved, they are propagating their results down the line through channels. If all channels of a node received data it can be solved and it will send its result down the line, and so on.

Once results are ready, they can be streamed to the WebUI using a websocket.

## Web UI
