Giter Site home page Giter Site logo

Comments (10)

andreineculau avatar andreineculau commented on June 26, 2024

What are we talking about here? define "more printer-friendly"

You already have https://github.com/for-GET/http-decision-diagram/blob/master/httpdd.png, and ultimately you can also just open http://for-get.github.io/http-decision-diagram/httpdd.fsm.html in a browser and press print. What makes these options not printer-friendly?

Let me know and I'll see what I can do.

from http-decision-diagram.

docksteaderluke avatar docksteaderluke commented on June 26, 2024

I guess what I mean is that you can print it in a legible way on standard letter-sized paper (8.5x11). Right now when I print it the text is too small. My first thoughts would be to reduce/remove any excess whitespace and enlarge the label text.

from http-decision-diagram.

andreineculau avatar andreineculau commented on June 26, 2024

hmm, good luck with that (printing everything in a legible way on a letter/A4 sized paper) :)

I would gladly look into a PR's changes, if you manage what you want and send a PR. The current state is the balance that I stroke (the first iteration was too bulky, given the number of the FSM datapoints), but obviously improvements could be found that maybe could come close to your goal. I am skeptical that you would reach your goal. Even the "original" couldn't be printed on a regular paper in a legible way, thus my skepticism.

from http-decision-diagram.

dmitriid avatar dmitriid commented on June 26, 2024

I'd say it's probably possible to print one section per A4 maintaining a bit of legibility. The entire diagram? Doubtful

from http-decision-diagram.

docksteaderluke avatar docksteaderluke commented on June 26, 2024

Hmmm... It was actually pretty close when I first tried to print it. I believe it would be possible to make the necessary modifications. I'll see if I can free up some time to tweak the diagram and submit a PR.

from http-decision-diagram.

andreineculau avatar andreineculau commented on June 26, 2024

FWIW I have properly fixed all the calculations of coordinates (was a mess!) and also I've updated a bit the font sizes etc. Maybe it's better/worse now for your goal, but the offer still stands obviously: send a PR, and I'll check it out

from http-decision-diagram.

andreineculau avatar andreineculau commented on June 26, 2024

FWIW went a notch further - added a header and export to PNG/JPEG/SVG buttons

from http-decision-diagram.

docksteaderluke avatar docksteaderluke commented on June 26, 2024

Nice!

I'm getting a JavaScript error when running the httpdd.fsm.html file:

Uncaught TypeError: this.toDataURL is not a function - joint.all.js:36623

Also, the "Open as PNG" and "Open as SVG" buttons don't seem to do anything. Maybe as a result of the above error? I'm running Chrome 48.0.2564.109 (64-bit) on OSX 10.11.3.

from http-decision-diagram.

andreineculau avatar andreineculau commented on June 26, 2024

ignore the error as it doesn't affect the runtime

as for the Open as.. I think chrome was blocking window.open. Should work
now

On Fri, Feb 26, 2016 at 2:35 PM, Luke Docksteader [email protected]
wrote:

Nice!

I'm getting a JavaScript error when running the httpdd.fsm.html file:

Uncaught TypeError: this.toDataURL is not a function - joint.all.js:36623

Also, the "Open as PNG" and "Open as SVG" buttons don't seem to do
anything. Maybe as a result of the above error? I'm running Chrome
48.0.2564.109 (64-bit) on OSX 10.11.3.


Reply to this email directly or view it on GitHub
#45 (comment)
.

andreineculau.com http://www.andreineculau.com

from http-decision-diagram.

docksteaderluke avatar docksteaderluke commented on June 26, 2024

Works now. Thanks!

from http-decision-diagram.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.