Skip to content

Conversation

@prosimplecoding
Copy link

@prosimplecoding prosimplecoding commented Jul 8, 2018

Adding PDF version via upload.

Features of PDF:

  • Without losing quality even increased size;
  • Printable version;

@prosimplecoding prosimplecoding mentioned this pull request Jul 8, 2018
@adam-golab
Copy link
Owner

Could you add links to blocks with libraries in the PDF file?
For example, clicking on React should navigate to https://reactjs.org/, clicking on Redux to https://redux.js.org/ and so on, according to links in the readme. That was probably the idea behind #12. I agree that may be helpful.

@prosimplecoding
Copy link
Author

prosimplecoding commented Jul 8, 2018

Yes, I'm trying to do it. But, text-decoration: none; (in draw.io maybe text-decoration=none; ) CSS rule doesn't work.
link

@prosimplecoding
Copy link
Author

One example you can see in this file
roadmap (Link only added to React).pdf
If you agree, I continue like this.

@adam-golab
Copy link
Owner

I'd prefer a version without underlines and blue color of the font. The link works very well, but I think the roadmap looks better without underlines.

@adam-golab
Copy link
Owner

@prosimplecoding In which way are you adding links? I added link by selecting block, clicking on Edit -> Edit Link..., and it added link without underline, but I'm not able to export it to single page PDF file.
But after exporting it to PDF divided into a few pages, it works like a charm.

@prosimplecoding
Copy link
Author

prosimplecoding commented Jul 8, 2018

@adam-golab I also want so.

I adding links with these way:

  1. Double click to text;
  2. Then click link button: add link.

In my opinion, in this way Edit -> Edit Link... link is not working.

To export diagram to single page PDF file I used this way:

  1. File -> Export as-> Advanced...
  2. Then I changed Filename value to roadmap.pdf, Format value to PDF and Width value to 1100.
  3. Click to "Export" button.
    export

@prosimplecoding
Copy link
Author

I also try to find how to make a PDF version links without underlines and blue color of the font using XML.

@TomasHubelbauer
Copy link

Could you generate the PDF using Puppeteer so that it can be deterministically regenerated? Right now you are printing it from Chrome by hand I assume?

@prosimplecoding
Copy link
Author

prosimplecoding commented Jul 9, 2018

I fixed this problem. More in next pull request: #29

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

Successfully merging this pull request may close these issues.

3 participants