Defines | |
#define | WORDSIZE 10000 |
Functions | |
SBML_ODESOLVER_API int | drawJacoby (cvodeData_t *data, char *file, char *format) |
Draws a graph of the non-zero entries in the Jacobian matrix J = df/dx of an ODE system f(x,p,t) = dx/dt at the end-time of the last integration. | |
SBML_ODESOLVER_API int | drawSensitivity (cvodeData_t *data, char *file, char *format, double threshold) |
Draws a graph of the non-zero entries in the sensitivity matrix P = df/dp of an ODE system f(x,p,t) = dx/dt at the end-time of the last integration. | |
SBML_ODESOLVER_API int | drawModel (Model_t *m, char *file, char *format) |
Draws a bipartite graph of the reaction network in the passed SBML model `m' (as libSBML Model_t). |
Graph drawing is based on the Graphviz library. Unfortunately most graphviz versions currently have memory leaks. If you know, how these could be avoided, please contact us.
|
|
|
Draws a graph of the non-zero entries in the Jacobian matrix J = df/dx of an ODE system f(x,p,t) = dx/dt at the end-time of the last integration. Negative entries f(x1)/dx2 will be drawn as a red edge with a `tee' arrowhead from x2 to x1, representing the negative influence of x2 on x1. Positive entries will be drawn in black with a normal arrowhead. The edges are labelled by the actual value of the entry at time t. Note, that edge labels and also graph structure can change with time. The input cvodeData can be retrieved from an integratorInstance with IntegratorInstance_getData(). The output graph will be written to a file named `file.`format', where format can be e.g. `ps', `svg', `jpg', `png', `cmapx' etc. The latter retrieves an HTML image map. Please see the graphviz documentation for other available formats. if SOSlib has been compiled without graphviz, the graph will be written to a text file in graphviz' dot format |
|
Draws a graph of the non-zero entries in the sensitivity matrix P = df/dp of an ODE system f(x,p,t) = dx/dt at the end-time of the last integration. Negative entries will f(x)/dp will be drawn as a red edge with a `tee' arrowhead from p to x, representing the negative influence of p on x. Positive entries will be drawn in black with a normal arrowhead. The edges are labelled by the actual value of the entry at time t. Note, that edge labels and also graph structure can change with time. As this graph is usually of very high or full connectivity, i.e. no variable is completely independent of some parameter of the system, the function takes a threshold between 0 and 1 as an additional input. Only edges for entries greater then the threshold multiplied by the maximum entry for species x will be drawn. The input cvodeData can be retrieved from an integratorInstance with IntegratorInstance_getData(). The output graph will be written to a file named `file.`format', where format can be e.g. `ps', `svg', `jpg', `png', `cmapx' etc. The latter retrieves an HTML image map. Please see the graphviz documentation for other available formats. if SOSlib has been compiled without graphviz, the graph will be written to a text file in graphviz' dot format |
|
Draws a bipartite graph of the reaction network in the passed SBML model `m' (as libSBML Model_t). Reactions will be boxes and species will be ellipses. The stoichiometry will be drawn as edge labels, if other than 1. Boundary species will be drawn in blue and constant species will be drawn in green where the latter overrides the former. Reaction modifier interactions will be drawn as dashed arrows with an open circle as an arrowhead. The output graph will be written to a file named `file.`format', where format can be e.g. `ps', `svg', `jpg', `png', `cmapx' etc. The latter retrieves an HTML image map. Please see the graphviz documentation for other available formats. if SOSlib has been compiled without graphviz, the graph will be written to a text file in graphviz' dot format |