Graph visualizer via Amber Smalltalk + Arbor.js + Raphael.js
This demo shows how you can use external JS libraries and work with them. Also here you can see the example of using WebSocket protocol.
- Download Amber. Copy it where you want.
- Download this project, which consists of Pharo server image and directory with GraphVisualizer project
- Download and install node.js
- Run konsole (cmd on Windows or some terminal on Linux)
- Execute "cd path-to-amber-root"
- Execute "node ./server/server.js" in Linux or "node server/server" on Windows
- Run Pharo image with GraphVisualizerServer from server folder. Run server with GraphVisualizerServer startServerOn: 9090
- Open browser and go to the "localhost:4000/projects/GraphVisualizer/index.html"
- Click "Open browser" button for details.