Live data from Hacker News

Diagram Maker: Open sourcing IoT visualization

aws.amazon.com

51–60 of 64 posts

Re: Diagram Maker: Open sourcing IoT visualization

#51
post #49

Shameless plug: If you're looking to develop a web app with diagramming functionality and need considerably more features, I make GoJS: https://gojs.net/latest/index.html In addition to basic stuff like zooming and moving nodes GoJS has undo management, data binding, templates, lots of built in tools and layouts and a large showcase of customizations of each, animations, palettes, overviews, etc. It's not free, but i…

How much pushback/confusion do you get on the naming of this, given that Golang seems to have taken over all the other go names?

Surprisingly little. Though for a small time the Go releases were almost the same version numbers as GoJS so I'd have a mini heart attack when go-lang made HN frontpage.

(for us, Go stands for Graph Object)

Re: Diagram Maker: Open sourcing IoT visualization

#52
post #50

Earlier quoted context omitted.

> It is impossible to express all of the relevant information about an architecture in a single view. Yet lots of people have been doing it, successfully, for decades with pen and paper (equivalent). I think you need to constrain your use case from "all architectures" to whatever it is you are trying to describe.

While I totally agree, I think we rely on people just making sense of the diagram based on context. Say you're diagraming the architecture of the aforementioned app and you have your VPCs and your ELBs and compute and subnets and IGW and tidy little boxes containing them all to indicate this is everything in prod AWS account, us-west-1. Then you need to add an S3 bucket and dynamo db table. Most people would just dro…

Furthermore, you have your security groups, roles, permissions, and policies. Plus you have build-time concerns (CF templates, CodeBuild builds, images, etc.). You simply cannot fit that into one view and have it make any kind of sense.

And those are just static relations. For interactions and data flows, you need sequence diagrams.

I wrote about this last month: https://blog.ilograph.com/posts/fixing-aws-architecure-diagr...

Re: Diagram Maker: Open sourcing IoT visualization

#53
post #52
post #50

Earlier quoted context omitted.

While I totally agree, I think we rely on people just making sense of the diagram based on context. Say you're diagraming the architecture of the aforementioned app and you have your VPCs and your ELBs and compute and subnets and IGW and tidy little boxes containing them all to indicate this is everything in prod AWS account, us-west-1. Then you need to add an S3 bucket and dynamo db table. Most people would just dro…

Furthermore, you have your security groups, roles, permissions, and policies. Plus you have build-time concerns (CF templates, CodeBuild builds, images, etc.). You simply cannot fit that into one view and have it make any kind of sense. And those are just static relations. For interactions and data flows, you need sequence diagrams. I wrote about this last month: https://blog.ilograph.com/posts/fixing-aws-architecure…

This is good stuff!!!

Re: Diagram Maker: Open sourcing IoT visualization

#54

Shameless plug: If you're looking to develop a web app with diagramming functionality and need considerably more features, I make GoJS: https://gojs.net/latest/index.html In addition to basic stuff like zooming and moving nodes GoJS has undo management, data binding, templates, lots of built in tools and layouts and a large showcase of customizations of each, animations, palettes, overviews, etc. It's not free, but i…

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. :)

Re: Diagram Maker: Open sourcing IoT visualization

#56

Shameless plug: If you're looking to develop a web app with diagramming functionality and need considerably more features, I make GoJS: https://gojs.net/latest/index.html In addition to basic stuff like zooming and moving nodes GoJS has undo management, data binding, templates, lots of built in tools and layouts and a large showcase of customizations of each, animations, palettes, overviews, etc. It's not free, but i…

Thanks, I'm after product like that right now. How does it compare with PlumbJS and JointJS? Are there any more competing libraries that you are aware of?

My use case is complicated as I'm playing in someone elses sandbox with constrained JS and DOM API's (that's what Salesforce calls it when they liberate you of software).

Re: Diagram Maker: Open sourcing IoT visualization

#57

This seems very specific to their IoT products, so it's weird they gave it such a generic name, like "Diagram Maker", which makes it seem like a competitor for something more generally capable like diagrams.net/draw.io.

This tool is not limited to AWS IoT products even though that is where this tool was born. You can use this tool for rendering any graph like structure like diagrams, flowcharts, etc. See more details here: https://awslabs.github.io/diagram-maker/why/features.html#da... .

Having a declarative API is really nice. Are you aware if anyone else doing this?

Re: Diagram Maker: Open sourcing IoT visualization

#59

Shameless plug: If you're looking to develop a web app with diagramming functionality and need considerably more features, I make GoJS: https://gojs.net/latest/index.html In addition to basic stuff like zooming and moving nodes GoJS has undo management, data binding, templates, lots of built in tools and layouts and a large showcase of customizations of each, animations, palettes, overviews, etc. It's not free, but i…

Thanks for this!

Does anyone know if there is a python equivalent?

Re: Diagram Maker: Open sourcing IoT visualization

#60
post #49

Earlier quoted context omitted.

How much pushback/confusion do you get on the naming of this, given that Golang seems to have taken over all the other go names?

Surprisingly little. Though for a small time the Go releases were almost the same version numbers as GoJS so I'd have a mini heart attack when go-lang made HN frontpage. (for us, Go stands for Graph Object)

In that case you should rename the project GObjectJS to avoid further confusion :-)
Post reply on HN