24

Until now i have used Graphviz to programmatically create diagrams and graphs. Recently, I found out about TikZ and I started loving it. However, it would be overkill in some of my intended uses to have a dependency on TeX, LaTeX, etc. Thus, I want to see if there is a similar application as Tikz that doesn't links with TeX concepts.

I mainly intend to use this in Haskell, Python and C. Thus, bindings for those languages will be a big plus.

Thanks

(Hopefully, I posted this in the right place. I see that there is a related question but that solution there doesn't really help me)

2
  • You know that you can generate standalone SVG or PostScript with TikZ don't you? Although you still need TeX in your workflow, your results don't need to "depend" on it. Outside of TeX-land there simply isn't anything comparable to TikZ for power or features. Nov 2, 2011 at 19:17
  • I know that. But I don't want to have TeX in the deployment requirements as I intend to use the package in a program or something. Nov 2, 2011 at 21:20

2 Answers 2

11

Maybe you'd like the Haskell diagrams library? Also see the gallery (click the images to view the source). It's on hackage. (As far as I know there are no bindings; not sure how easy it'd be to implement them yourself.)

2
  • Thanks. This was what I was looking for. Now, I'll have to find/write bindings for C and Python as one of my projects requires them. Nov 2, 2011 at 13:13
  • As always, there are problems installing this on Windows. Mar 22, 2012 at 21:40
2

It depends on what features you are looking for.

Somewhat similar applications with fewer or no dependencies are:

For Python you could try PyX.

2
  • GLE was good. But it still needed ghostscript, making it sound like trading one devil for another. Thanks, though. Nov 2, 2011 at 13:14
  • Asymptote only seems to depend on readline and the Boehm-Demers-Weiser Garbage Collector. If you are a Mac user, there is a Homebrew formula for both Asymptote and GLE. Nov 2, 2011 at 13:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.