GithubHelp home page GithubHelp logo

Large Diagrams about nomnoml HOT 9 CLOSED

skanaar avatar skanaar commented on June 24, 2024
Large Diagrams

from nomnoml.

Comments (9)

achudars avatar achudars commented on June 24, 2024

Another alternative without the use of jQuery:
CSS resize: https://developer.mozilla.org/en-US/docs/Web/CSS/resize
HTML drag & drop: http://www.html5rocks.com/en/tutorials/dnd/basics/

from nomnoml.

skanaar avatar skanaar commented on June 24, 2024

The difficulty that arises is that I really like that the transparent textarea floats on top of the canvas. This causes some issues when scrolling both or just one of the canvas and/or textarea. Especially horizontally.

There is probably some nice solution out there. Probably looking into some kind of zoom/pan tool.
Up until then the #zoom: directive and export to image are our friends.

from nomnoml.

macino avatar macino commented on June 24, 2024

Maybe a partially solution in https://github.com/macino/nomnoml. I added some move handlers to the canvas so you can drag it wherever you want. Double click restores the original position. The position of the canvas is not affected by it.

Unfortunately, it works only in FF. Chrome has some difficulties handling the mouse event on canvas. Don't know why, but looking to it.

from nomnoml.

skanaar avatar skanaar commented on June 24, 2024

I try to keep compatibility with IE9, Firefox and Chrome.

from nomnoml.

macino avatar macino commented on June 24, 2024

I'll keep that in mind. I'll let you know when I solve that problem.

from nomnoml.

skanaar avatar skanaar commented on June 24, 2024

We now have a candidate solution to this issue.
Anyone who is interested can do some QA here: http://www.nomnoml.com/releasecandidate/ before I deploy it at root.

from nomnoml.

ctzurcanu avatar ctzurcanu commented on June 24, 2024

Too bad the image becomes fuzzy when becoming smaller (such thing does not happen with the SVG renderer.. #15 ;) )

from nomnoml.

achudars avatar achudars commented on June 24, 2024

@ctzurcanu do you mean the fuzziness when downloading an image?

from nomnoml.

ctzurcanu avatar ctzurcanu commented on June 24, 2024

@achudars that too, but in general the letters on canvas are less sharp than SVG letters of the same dims even when displaying.

from nomnoml.

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.