Hacker News new | ask | show | jobs
by gbuk2013 2087 days ago
That’s pretty cool. :)

About five years ago I built something similar but with a single focus of building interactive network diagrams.

We would link individual nodes to backed APIs that would get triggered by certain network events and cause the nodes to animate (e.g. traffic flow, ACL rule hit etc). We would bind buttons on the diagram to send requests to external APIs to trigger requests etc. We also had things like packet counters and traffic flow diagrams on the canvas that would show additional detail.

We also repurposed it later to visually build networks of VMs: we would lay out the nodes and networks on the diagram, configure OS, network address settings etc and then hit a button to convert the diagram to an Ansible playbook that would make it all real.

That was a really fun project - I should dig out that code and play with Terraform some time. :)