Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

offline render? #6

Open
nogweii opened this issue Jan 20, 2017 · 11 comments
Open

offline render? #6

nogweii opened this issue Jan 20, 2017 · 11 comments

Comments

@nogweii
Copy link

nogweii commented Jan 20, 2017

I realize that it's mostly front-end, but I have an idea about a tool to automatically generate the appropriate YAML, and then render it. It's not necessarily a problem to have it save the YAML and throw it up onto a webserver, but figured a way to generate the final diagram ahead of time would make things simpler.

@csillab
Copy link
Contributor

csillab commented Aug 18, 2017

I was also looking for something like this, rendering them offline than use them embedded in other documentation.

@tomaskaminskas
Copy link

Another issue is regarding privacy, I would like to generate network diagram with all sensitive information in my private webserver, not in public one.

@lonniev
Copy link

lonniev commented Apr 14, 2018

Perhaps related to this Issue #6: a REST interface to go.drawthe.net would be very handy for automation of technical documentation. One could save the yaml and curl POST it go.drawthe.net to receive back a PNG of the appropriate network diagram.

@itdependsnetworks
Copy link

What is the privacy issue? Why can't you host this internally?

There is now a PNG export, and you can simply change the source from a yaml file to a rest call to a bespoke api, that returns the json object, and convert it back to yaml.

In short, I don't think that there is any asks here, that are not supported, but I could be missing the point.

@lonniev
Copy link

lonniev commented Apr 15, 2018 via email

@nogweii
Copy link
Author

nogweii commented Apr 15, 2018

Indeed, my initial request was just a way to automate the conversion of the YAML to a PNG. Right now, if I wanted to add a network diagram I have to open the YAML in the browser, then save off the PNG. I'm not aware of an automated process.

For those concerned about the privacy aspects, drawthe.net is OSS and could be deployed on their own servers. That is independent of adding an automated conversion.

@bonndan
Copy link

bonndan commented Jun 25, 2018

Any plans to provide a "binary" like a docker image?

@bonndan
Copy link

bonndan commented Jun 29, 2018

Wrote this based on your code:
https://github.com/bonndan/dld4e-headless

Still not complete but one can see where it's going.

@edurguti
Copy link

Wrote this based on your code:
https://github.com/bonndan/dld4e-headless

Still not complete but one can see where it's going.

Thanks for making this into a server side call, I still can't get notes text to appear, it's just blank.

@edurguti
Copy link

What is the privacy issue? Why can't you host this internally?

There is now a PNG export, and you can simply change the source from a yaml file to a rest call to a bespoke api, that returns the json object, and convert it back to yaml.

In short, I don't think that there is any asks here, that are not supported, but I could be missing the point.

how can we make an api request to this?

@sky-joker
Copy link

Hi guys.

I, too, that I wanted to render a network diagram from locally constructed drawthe automatically.
So I made the automatically render tool of a network diagram from drawthe.

https://github.com/sky-joker/wrapdraw

Maybe it will help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants