Skip to content

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.

License

Notifications You must be signed in to change notification settings

elbosso/elkjsmicroservice

Repository files navigation

elkjsmicroservice

GitHub release GitHub tag GitHub license GitHub issues GitHub issues-closed contributions welcome GitHub contributors Github All Releases Website elbosso.github.io

Overview

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>

Many thanks also go out to nodejs and expressjs.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published