libSBML Perl API  libSBML 5.19.7 Perl API
flattenModel.cpp

Model flattening example.