Live data from Hacker News

Draw.io: Online Diagramming Website

github.com

91–100 of 197 posts

Re: Draw.io: Online Diagramming Website

#91
I love draw.io. I work for one of the big brand-name tech companies, and still routinely use draw.io for diagrams whenever I have to give presentations (high-level, system architecture things mostly).

It's easy to get something that looks relatively pretty made relatively quickly, and unlike something like Omnigraffle, it works on Linux.

Re: Draw.io: Online Diagramming Website

#92
post #77

Earlier quoted context omitted.

This is really interesting, is this (or similar to) steganography? Poked around the repo but haven't yet found where this is implemented (on either end). From a user perspective that sounds like a super useful feature, though perhaps unexpected unless you were directly informed of it.

I'm guessing you can just append arbitrary data to a png file since it has eof markers in its file structure.

PNG is structured in "chunks" of data of different types, and you can add your own tool-specific types. IIRC there is even a way to indicate what other tools should do with a chunk type they don't recognise (keep it untouched or throw it away).

Re: Draw.io: Online Diagramming Website

#93
post #84

I've tried drawing diagrams with these tools and it seems so much harder for quick drafting than just using pen and paper and also a lot of work to get anything even remotely good looking (like aligning things or making boxes of the same size, ie performing mass operations). I would like to use a tool where I first describe the relations in text/code and the layouting and formatting is done separately, and formatting…

> like aligning things or making boxes of the same size Did you actually try this tool? it makes mass aligning/resizing extremely easy. For instance, to change dimensions of multiple elements you just select them and then type desired width/height. It is also has pretty standard arrange and distribute controls.

I have used it. I'll make a comparison. Google draw has a feature that provides immediate visual feedback when you select multiple objects and then resize the group. Everything is resized at once.

Re: Draw.io: Online Diagramming Website

#96

Earlier quoted context omitted.

I'm guessing you can just append arbitrary data to a png file since it has eof markers in its file structure.

PNG is structured in "chunks" of data of different types, and you can add your own tool-specific types. IIRC there is even a way to indicate what other tools should do with a chunk type they don't recognise (keep it untouched or throw it away).

I exported a draw.io png and they do encode the diagram information with private data chunks.

Re: Draw.io: Online Diagramming Website

#97

> draw.io is a client-side, static web application. There is no user authenication or data storage concept in this repo. The online version stores data in mainstream cloud storage options, currently Google Drive, OneDrive, Dropbox, Github, Gitlab or Trello. I love this about Draw.io. This is how I want to build my applications. I don't want to deal with storing any user data and rather let them handle it how they see…

> mainstream cloud storage options, currently Google Drive, OneDrive, Dropbox, Github, Gitlab or Trello. Anybody know of a library of service (preferably open source) that offers an easy API to interact with all these in such a way?

BrowserFS has a few different APIs integrated. Not the lightest library though.

https://github.com/jvilk/BrowserFS/blob/master/README.md

Re: Draw.io: Online Diagramming Website

#98

I've tried drawing diagrams with these tools and it seems so much harder for quick drafting than just using pen and paper and also a lot of work to get anything even remotely good looking (like aligning things or making boxes of the same size, ie performing mass operations). I would like to use a tool where I first describe the relations in text/code and the layouting and formatting is done separately, and formatting…

When I first tried drawio I also felt slightly clunky, but after a few hours of use I fell in love. Now most of diagrams I make (to share with others) I make in draw.io

Re: Draw.io: Online Diagramming Website

#99
post #77
post #41

I really like that you can export as PNGs and embed the diagram information inside. Being able send around PNGs that everyone can view, but can still be edited with draw.io makes sharing and updating much simpler.

This is really interesting, is this (or similar to) steganography? Poked around the repo but haven't yet found where this is implemented (on either end). From a user perspective that sounds like a super useful feature, though perhaps unexpected unless you were directly informed of it.

The code for writing is here: https://github.com/jgraph/drawio/blob/master/src/main/webapp... Reading is here: https://github.com/jgraph/drawio/blob/master/src/main/webapp... We're using the tEXt chunk.

Re: Draw.io: Online Diagramming Website

#100
I've been using draw.io massively over the last years everywhere from concepting & mindmapping up to integrating it directly into website editors where needed - huge kudos to the authors, such a useful and well designed tool.
Post reply on HN