graphdrawing

jgillis edited this page Jan 24, 2013 · 7 revisions

Some primitive dot-graph drawing of SX and MX graphs is available in python as follows:

from casadi.tools import *

dotdraw(myexpression)

This functionality needs dot and pydot to be installed. You can grab them with apt-get install python-pydot.

To check if the installation was successful, try out the following program in python:

import pydot
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.