Using Gaphas with libavoid

From ASCEND
Revision as of 06:03, 31 March 2011 by Jpye (talk | contribs) (Created page with '[http://adaptagrams.sourceforge.net/libavoid/ Libavoid] is a library that does 2D line-routing to avoid obstacles. [https://github.com/amolenaar/gaphas#readme Gaphas] is a canvas…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Libavoid is a library that does 2D line-routing to avoid obstacles. Gaphas is a canvas widget written in Python using Cairo. We use Gaphas in our canvas-based modeller. We would like now to incorporate Gaphas' support for libavoid so that building diagrams on our canvas-based modeller is much easier to do.

Testing Gaphas with libavoid

This is still work in progress, so expect the instructions to change!

  • Install Cython. You need 0.14 or later. For Ubuntu 10.04, you can use a PPA build from here.
  • Obtain latest patched libavoid code from Arjan Molenaar using
git clone https://github.com/amolenaar/adaptagrams.git

(ongoing)