Coder Social home page Coder Social logo

SVG renderer falling behind.. about nomnoml HOT 11 CLOSED

skanaar avatar skanaar commented on August 31, 2024
SVG renderer falling behind..

from nomnoml.

Comments (11)

skanaar avatar skanaar commented on August 31, 2024

I really like the fact that the text hovers above the graph, so I am a bit sceptical to the two-column approach.
But I got inspired! and implemented some custom pan and zoom handlers: http://www.nomnoml.com/releasecandidate/

from nomnoml.

ctzurcanu avatar ctzurcanu commented on August 31, 2024

I think your solution with fading text is great and will sure inspire ;) me to improve the next version! But I would prefer SVG because the graphic can be then exported as vector graphics into other documents..

I put the question just to know if there are other ppl (than you and me) who are interested.

from nomnoml.

skanaar avatar skanaar commented on August 31, 2024

@ctzurcanu : it would be nice to have both Save PNG and Save SVG butttons. Bitmap images are so ubiquitous that I am hesitant to drop support completely.

from nomnoml.

ctzurcanu avatar ctzurcanu commented on August 31, 2024

@skanaar true. that is why we can use https://github.com/gabelerner/canvg (even more: I never said the project should have only SVG renderer. I think it should have both)

from nomnoml.

skanaar avatar skanaar commented on August 31, 2024

@ctzurcanu , you might want to have a chat with @korroz who was interested in an SVG renderer.

from nomnoml.

amoosbr avatar amoosbr commented on August 31, 2024

+1

from nomnoml.

korroz avatar korroz commented on August 31, 2024

I was interested in SVG on behalf of nomnoml because my opinion is that it is a better match technology-wise than raster. And as pointed out, if you have SVG you get raster images for free as well, you don't even need a library like canvg, it's a trivial piece of code (well at least in a browser).

When talking a bit about SVG rendering with @skanaar we went into the direction that it would be best if rendering got abstracted some more and then SVG support could be built as an alternative renderer. That roughly means that a middle step between the layouter and the renderer should be added to create a simpler object model that is easy for the renderer (canvas or svg) to consume.

In the end it is up to @skanaar what he wants to accept.

from nomnoml.

ctzurcanu avatar ctzurcanu commented on August 31, 2024

@korroz I am not sure if you have tried my (alternative) svg renderer. It is already following the canvas renderer quite closely already. I did not see your email being public. I would have a longer conversation on this or we can have it at https://github.com/ctzurcanu/nomnoml

from nomnoml.

korroz avatar korroz commented on August 31, 2024

@ctzurcanu I did check your branch out actually. I tried all forks of nomnoml out in fact, hehe. Oh and I noticed that I didn't have an email on my profile so I set one, it should be there now.

from nomnoml.

skanaar avatar skanaar commented on August 31, 2024

I am pretty swamped with work/hobbies right now but will definitely look into this.
If anyone have time to help me with modifing the grammar-file so that nomnoml supports escaping of [ ] - characters and chained associations that would be very appreciated.

from nomnoml.

skanaar avatar skanaar commented on August 31, 2024

Closing this as it is more of a discussion thread than an actual issue.

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.