Giter Site home page Giter Site logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Here's a sample graph with a nonstandard dpi setting.

Original comment by [email protected] on 19 Oct 2008 at 6:50

Attachments:

from canviz.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Partial fix committed in r129 which takes care of the size (setting this.dpi to 
the value in the graph and setting 
this.systemScale to this.dpi / 72). But the line thickness is not right. I need 
to analyze the PNG output at absurdly 
high dpi values to see what the line thickness should be.

Original comment by [email protected] on 19 Oct 2008 at 7:02

  • Changed state: Started

from canviz.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
I rendered a graph at 720 dpi and the lines were exactly 10 pixels wide. So I 
must conclude that the line width 
should be this.dpi / 72. Which means I was wrong with r29 and should revert it.

Original comment by [email protected] on 19 Oct 2008 at 7:24

from canviz.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Reverted r29 in r130. This fixes the line width but there's still something 
funny going on with the arrow in 
800dpi.gv -- the edge going into the arrow isn't centered in the Canviz 
rendering where it is in the PNG 
rendering.

Original comment by [email protected] on 19 Oct 2008 at 7:44

from canviz.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
I'm going to call this fixed. Canviz does support the dpi attribute. It's 
unfortunate that the arrows look a little 
funny at high dpi, but I think it's just the effect of rounding. xdot expresses 
coordinates in integer points. Drawn 
at the default 96 dpi, this amounts to a fraction of a pixel of difference. But 
when scaled up to such a high dpi, 
the rounding becomes noticeable. Canviz can't fix this; the way to fix it would 
be to have Graphviz express 
coordinates in xdot format in floating-point points instead of integer points.

Original comment by [email protected] on 1 Nov 2008 at 8:19

  • Changed state: Fixed

from canviz.

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.