aphs
v0.0.6
Published
Interactive graphs for application development
Downloads
7
Maintainers
Readme
aphs
Graphs for application development
Simple steps to install:
Install with
npm install aphs --save-dev
Update scripts of your package.json with following command:
"aphs": "node node_modules/aphs/server.js"
To make your first graph follow next steps:
- Run aphs with
npm run aphs
- Go to http://localhost:9029 - on first load it will set up default
aphs.json
in root folder and copyaphs-usage-example.js
to yoursrc
path - Click
Open context
button and choose default context – you will see two blocks from copiedsrc/aphs-usage-example.js
. You can move them by the title, edit and update their files with them, but do not intersect or nest different blocks neither in client nor in code! - You can use code block wrappers
/*-yourBlockName-*/ yourBlockCode /*-/yourBlockName-*/
in any file insidesrc
directory. After setting up a new wrapper pressUpdate project blocks
button in the client to update aphs.json with it and to be able to use it in your contexts. - To use it click
Place block
button and chose it. It will be placed to context board. - To connect these blocks click
Add connection
button in the top menu, then click on connection source object, then on destination. - To edit or remove connection click on it.