Comments (5)
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.
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.
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.
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.
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)
- subgraph render fail HOT 1
- Makefile fails if "dot" is not found in the $PATH HOT 1
- Separate parsing from rendering HOT 6
- Project missing resources HOT 2
- Hello World example shows canviz div doesn't properly unclear itself HOT 3
- Links not working properly on large garphs HOT 2
- I think the BB is computing wrong HOT 3
- allow response to graph loaded
- Don't require Prototype; allow using jQuery or other libraries HOT 21
- Error 127 when compiling when dot is not in the path HOT 1
- Use Prototype from Google APIs HOT 2
- edges div-tag overlaps nodes a-tag HOT 2
- Remove global debug function from library
- Canviz does not compile in debian sid HOT 1
- I cannot make Canviz work on IE (9 or 10) and Chrome
- Support for xdot1.5? HOT 1
- Move to GitHub? HOT 3
- Feedback from first time user HOT 1
- Suggest drawing nodes after edges in class CanvizGraph
- Clearly indicate which files are required HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canviz.