ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gour <gour@mail.inet.hr>
To: ntg-context@ntg.nl
Subject: Re: metapsot vs. graphviz
Date: Thu, 24 Apr 2008 17:16:50 +0200	[thread overview]
Message-ID: <8763u7mgf1.fsf@nitai.hr> (raw)
In-Reply-To: <alpine.DEB.1.00.0804241037280.9781@nqv-yncgbc>


[-- Attachment #1.1: Type: text/plain, Size: 2202 bytes --]

>>>>> "Aditya" == Aditya Mahajan <adityam@umich.edu> writes:

Hello Aditya!


Aditya> Metapost is for drawing all kinds of graphics. It give you a
Aditya> very fine control on where to place objects, and is very well
Aditya> integrated with ConTeXt (your labels will be the same font as
Aditya> the rest of the document).  With the new mplib, using metapost
Aditya> in ConTeXt is very fast (for me I do not notice any difference;
Aditya> with mkii it used to take aboud 3-4 sec).

This is very nice feature...

Aditya> Graphviz is good for automatic positioning of nodes. If you have
Aditya> a large number of nodes, it can figure out the best way to place
Aditya> them. There are different versions, dot (for directed graphs),
Aditya> circo (for circular graphs), neato (for undirected graphs), fps
Aditya> (uses a different model for undirected graphs). For most of the
Aditya> cases, the output is average: the node placement is very good,
Aditya> but then it is difficult to get tex to process the labels, it is
Aditya> limited in terms of color effects that you can get. I find it
Aditya> very hard to modify the output.

I will probably not deal with many modes, but having support for all
kinds of graphics is preferred.

Aditya> Graphiz does give metapost output, but I found it to be a bit
Aditya> akward to use. The good part about graphiz is that is very easy
Aditya> to learn, and for most cases the output is acceptable.

But, as you wrote above, it is not a 'general' graphic package?

Aditya> There is dot2tex, which a python script that converts from dot
Aditya> (graphviz) to tikz. I have not tried it, but from the examples
Aditya> it appears to remove all the drawbacks of integrated graphviz
Aditya> with tex. It is tailored towards integration with latex, but it
Aditya> should not be too hard to configure it for context.

Thanks a lot for your input.

It seems that metapost is not the most easy way, but considering that
luatex & context are future, it looks worth to sit & have metafun ;)


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D
----------------------------------------------------------------

[-- Attachment #1.2: Type: application/pgp-signature, Size: 196 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2008-04-24 15:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-24 14:33 Gour
2008-04-24 14:45 ` Aditya Mahajan
2008-04-24 15:16   ` Gour [this message]
2008-04-27 22:14 ` Andrea Valle
2008-04-28  5:45   ` Gour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8763u7mgf1.fsf@nitai.hr \
    --to=gour@mail.inet.hr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).