12 #ifndef __SBNW_LAYOUT_FR_H_ 13 #define __SBNW_LAYOUT_FR_H_ 93 namespace LibsbmlDraw {
Real padding
Padding on compartments.
Definition: fr.h:47
SAGITTARIUS_REAL Real
Make Real visible to C. Consider letting Real lie in top namespace.
Definition: SagittariusCommon.h:112
_GraphfabExport void gf_layout_setStiffness(fr_options *opt, double k)
Set the stiffness for the FR algorithm.
Definition: fr.cpp:38
struct __fr_options fr_options
Options passed to the Fruchterman-Reingold algorithm.
_GraphfabExport void gf_doLayoutAlgorithm(fr_options opt, gf_layoutInfo *l)
Run the autolayout (Fruchterman-Reingold) algorithm on a given layout structure.
Definition: fr.cpp:42
Canvas for drawing diagram, dimensions.
Options passed to the Fruchterman-Reingold algorithm.
Definition: fr.h:37
_GraphfabExport void gf_doLayoutAlgorithm2(fr_options opt, gf_network *n, gf_canvas *c)
Run the autolayout (Fruchterman-Reingold) algorithm on a a network and optional canvas.
Definition: fr.cpp:53
Real k
Stiffness - distance between points.
Definition: fr.h:39
Type which holds layout info.
Definition: layout.h:114
int autobary
Should the barycenter be set automatically from layout info? Uses dimensions of the canvas.
Definition: fr.h:45
A reaction network.
Definition: layout.h:37
_GraphfabExport void gf_getLayoutOptDefaults(fr_options *opt)
Generate default values for the layout options.
Definition: fr.cpp:30
SBML layout interface in C.
Real baryx
Center of gravitational force.
Definition: fr.h:43
Drawing canvas.
Definition: layout.h:100
Real grav
Strength of gravity (must be greater than 5 to have an effect)
Definition: fr.h:41