![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Nicolas Alvarez wrote:
> Invisible wrote:
>> But hell, doing this on a computer was way easier than with pen and
>> paper! o_O
>
> I started trying to do it with graphviz. It quickly got into a mess. Clearly
> it would need manually tweaking some positions and edge weights...
Nice... Not a tool I'm familiar with. (I heard somebody rambling about
it a while back though.)
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
nemesis wrote:
> I'm sure I spotted a WTF somewhere...
Perhaps you mean "WHNF"? :-P
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Orchid XP v8 wrote:
> Nice... Not a tool I'm familiar with.
Well, as you can see from the source code I included, it's not exactly hard
to use :)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Zeger Knaepen wrote:
> 28461 bytes, who does better :p
Even a simple 16-color GIF is only 32,518 bytes, and that's without even
trying hard or losing the AA on the arrows. :-)
--
Darren New / San Diego, CA, USA (PST)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
>> > I was wondering how much I could reduce the file size of your PNG if
>> > lossiness is allowed, but without degrading the image quality
>> > noticeably.
>> > I was able to reduce your original 138408 bytes png to a 49074 bytes
>> > one:
>
>> The AA on the diagonal lines certainly looks noticeably worse...
>
> I don't think it reduces the readability and clarity of the graph in
> any way.
Me neither, but it certainly is noticeable. I wonder if you use just
horizontal and vertical lines, rather than diagonal lines, and don't use
rounded boxes, or a coloured background, or AA text, how that would affect
the file size?
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
scott <sco### [at] scott com> wrote:
> Me neither, but it certainly is noticeable. I wonder if you use just
> horizontal and vertical lines, rather than diagonal lines, and don't use
> rounded boxes, or a coloured background, or AA text, how that would affect
> the file size?
Probably makes the file a lot smaller because it compresses better that
way.
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
>> Me neither, but it certainly is noticeable. I wonder if you use just
>> horizontal and vertical lines, rather than diagonal lines, and don't use
>> rounded boxes, or a coloured background, or AA text, how that would affect
>> the file size?
>
> Probably makes the file a lot smaller because it compresses better that
> way.
I imagine if I were somehow able to generate an SVG version, it would be
many, many times smaller than any compressed bitmap.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
>> Nice... Not a tool I'm familiar with.
>
> Well, as you can see from the source code I included, it's not exactly hard
> to use :)
...and yet it's taken me this long to download and install the thing! ;-)
I see what you mean about a mess. Even with a very simple, almost
trivial graph, the produced layouts are extremely suboptimal. (Nodes on
top of each other, edges that consist only of arrow heads, absurdly long
edges for no reason, etc.) All of the graphs could trivially be improved
by just moving a few nodes to one side or another by a very small
amount. And it doesn't seem to matter which layout engine I use; they
all seem to produce hopeless layouts.
Still, it *is* much faster than doing this stuff by hand! ;-)
OOC, do you have any idea how I make it draw the edges as splines? I
have tried and tried and tried to make it do this, but it won't.
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Orchid XP v8 wrote:
> OOC, do you have any idea how I make it draw the edges as splines? I
> have tried and tried and tried to make it do this, but it won't.
Um, splines=true? (graph property)
splines=boolean. Setting this to true causes edges to be drawn as
splines if nodes don't overlap. The default is false.
Also try concentrate=true.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Nicolas Alvarez wrote:
> Orchid XP v8 wrote:
>> OOC, do you have any idea how I make it draw the edges as splines? I
>> have tried and tried and tried to make it do this, but it won't.
>
> Um, splines=true? (graph property)
Yeah. I did that. It has no effect. (The manual says it should work, but
it doesn't.)
> Also try concentrate=true.
Mmm, OK...
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |