A set of functions for creating and navigating a network graph of transcriptional regulation using the zipper pattern.
This library is intended to follow functional principles as much as possible, such as avoiding mutable values and side effects, and allowing currying and piping.
Run the following commands in the repository's root folder:
dotnet build
dotnet run
When the Suave server is started, you can use a tool to send requests to the server, such as curl (see the examples below) or Postman.
You can also open the NetworkVis.html file in a browser for a visual example of exploring a graph. This page uses vis-network.
For a full list of possible commands, see the "Server commands" section in the wiki.
$ curl -X GET -vvv http://localhost:8080/getLocation
curl -X GET -vvv http://localhost:8080/getLocation
$ curl -X GET -vvv http://localhost:8080/getDestinations
curl -X GET -vvv http://localhost:8080/getDestinations
$ curl -X POST -vvv --data '{"moveOp":"ToVertex","moveInputs":{"Tag":"one","Value":1}}' http://localhost:8080/move
curl -X POST -vvv --data {\"moveOp\":\"ToVertex\",\"moveInputs\":{\"Tag\":\"one\",\"Value\":1}} http://localhost:8080/move
$ curl -X POST -vvv --data '{"moveOp":"Back","moveInputs":[]}' http://localhost:8080/move
curl -X POST -vvv --data {\"moveOp\":\"Back\",\"moveInputs\":[]} http://localhost:8080/move
$ curl -X POST -vvv --data '{"moveOp":"Forward","moveInputs":[]}' http://localhost:8080/move
curl -X POST -vvv --data {\"moveOp\":\"Forward\",\"moveInputs\":[]} http://localhost:8080/move