36 #ifndef __GRAPHFAB_LAYOUT_FR_H_
37 #define __GRAPHFAB_LAYOUT_FR_H_
int mag
Use magnetism? (forces bridge reactions)
Definition: fr.h:58
SAGITTARIUS_REAL Real
Make Real visible to C. Consider letting Real lie in top namespace.
Definition: SagittariusCommon.h:136
_GraphfabExport void gf_layout_setStiffness(fr_options *opt, double k)
Set the stiffness for the FR algorithm.
Definition: fr.cpp:65
_GraphfabExport void gf_doLayoutAlgorithm(fr_options opt, gf_layoutInfo *l)
Run the autolayout (Fruchterman-Reingold) algorithm on a given layout structure.
Definition: fr.cpp:69
int enable_comps
Enable compartment force calc?
Definition: fr.h:66
Definition: SagittariusCommon.cpp:38
Canvas for drawing diagram, dimensions.
_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:84
Real k
Algorithm constant.
Definition: fr.h:54
int boundary
Constrain to boundary?
Definition: fr.h:56
int autobary
Should the barycenter be set automatically from layout info?
Definition: fr.h:64
_GraphfabExport void gf_getLayoutOptDefaults(fr_options *opt)
Generate default values for the layout options.
Definition: fr.cpp:54
SBML layout interface in C.
Real baryx
Center of gravitational force.
Definition: fr.h:62
int prerandomize
Randomize node positions before doing layout algo (library code DOES NOT call srand for reproducibili...
Definition: fr.h:68
Real grav
Amount of gravity.
Definition: fr.h:60