25

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)

Community
  • 1
  • 1
Mihai Maruseac
  • 20,967
  • 7
  • 57
  • 109
  • 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. – stephen tetley Nov 02 '11 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. – Mihai Maruseac Nov 02 '11 at 21:20

2 Answers2

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.)

sr_
  • 547
  • 5
  • 14
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.

LennyStackOverflow
  • 2,228
  • 1
  • 19
  • 22
  • GLE was good. But it still needed ghostscript, making it sound like trading one devil for another. Thanks, though. – Mihai Maruseac Nov 02 '11 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. – LennyStackOverflow Nov 02 '11 at 13:27