This project is aimed at providing a microservice for laying out arbitrarily complex graphs. It builds on the project elk.js for the actual layout algorithms implementation.
This project adds the plumbing for turning it into a service - actually it turns it into a docker container deployable anywhere docker containers are welcome.
The provided Dockerfile
builds an image for the service. If your fancy takes you to using it with docker-compose -
there is already a ready made example docker-compose.yml
here that has some commented lines prepared for
integrating eith any traefik-instance you might already have set up.
After starting the container and provided you know hostname and port of said container, one can check out the functionality
of it by sending the provided example.json
- for example using curl by issuing the following command:
curl -H "Content-Type: application/json" --data-binary '@example.json' http://<hostname>:<port>