draw
Prototype interactive SVG frontend UI for the path
API system
Live demo at: http://draw.apnex.io
Install
For local development / testing - use http-server
to serve the local files:
npm install -g http-server
Start the web server:
./server.sh
You should now be able to access the UI on http://localhost:8080
Usage
- Click and hold
right-click
on the dock and drag mouse tocreate
newnode
onto page - Click and hold
right-click
on an existingnode
and drag mouse to move it - Hold
ALT + right-click
on anode
todelete
it, along with all connectedlinks
- Hold
CTRL + right-click
on anode
tocopy
it, then drag mouse to new location - Hold
left-click
on anode
and drag mouse to create a newlink
between 2 nodes