https://github.com/elbosso/elkjsmicroservice
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.
https://github.com/elbosso/elkjsmicroservice
docker expressjs graphs javascript layout nodejs npm
Last synced: about 1 month ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/elbosso/elkjsmicroservice
- Owner: elbosso
- License: other
- Created: 2019-12-14T18:55:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-08T06:24:27.000Z (almost 4 years ago)
- Last Synced: 2024-11-03T22:33:20.351Z (6 months ago)
- Topics: docker, expressjs, graphs, javascript, layout, nodejs, npm
- Language: HTML
- Homepage: https://elbosso.github.io/
- Size: 15.6 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - elbosso/elkjsmicroservice - 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. (npm)
README
# elkjsmicroservice
[](https://GitHub.com/elbosso/elkjsmicroservice/releases/)
[](https://GitHub.com/elbosso/elkjsmicroservice/tags/)
[](https://github.com/elbosso/elkjsmicroservice/blob/master/LICENSE)
[](https://GitHub.com/elbosso/elkjsmicroservice/issues/)
[](https://GitHub.com/elbosso/elkjsmicroservice/issues?q=is%3Aissue+is%3Aclosed)
[](https://github.com/elbosso/elkjsmicroservice/issues)
[](https://GitHub.com/elbosso/elkjsmicroservice/graphs/contributors/)
[](https://github.com/elbosso/elkjsmicroservice)
[](https://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](https://github.com/OpenKieler/elkjs) 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](https://containo.us/traefik/) 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:```shell
curl -H "Content-Type: application/json" --data-binary '@example.json' http://:
```Many thanks also go out to
[nodejs](https://nodejs.org/de/docs/guides/nodejs-docker-webapp/)
and
[expressjs](http://expressjs.com/).