This code is based on this sample: http://thecodeplayer.com/walkthrough/css3-family-tree
and added the hability to set some nodes vertically.
Not fully tested, it just worked for my needs.
A Pen by Bernardo Antunes on CodePen.
| #!/bin/bash | |
| set -eu | |
| umask 0022 | |
| if [[ $# -lt 1 ]]; then | |
| echo "Usage: $0 role_name [AWS ACCOUNT NUMBER]" >&2 | |
| exit 1 | |
| fi |
| var AWS = require('aws-sdk'); | |
| var http = require('http'); | |
| var httpProxy = require('http-proxy'); | |
| var express = require('express'); | |
| var bodyParser = require('body-parser'); | |
| var stream = require('stream'); | |
| if (process.argv.length != 3) { | |
| console.error('usage: aws-es-proxy <my-cluster-endpoint>'); | |
| process.exit(1); |
This code is based on this sample: http://thecodeplayer.com/walkthrough/css3-family-tree
and added the hability to set some nodes vertically.
Not fully tested, it just worked for my needs.
A Pen by Bernardo Antunes on CodePen.