libsbml-draw
Public Attributes | List of all members
__fr_options Struct Reference

Options passed to the Fruchterman-Reingold algorithm. More...

#include <fr.h>

Public Attributes

Real k
 Stiffness - distance between points.
 
Real grav
 Strength of gravity (must be greater than 5 to have an effect)
 
Real baryx
 Center of gravitational force.
 
Real baryy
 
int autobary
 Should the barycenter be set automatically from layout info? Uses dimensions of the canvas.
 
Real padding
 Padding on compartments.
 

Detailed Description

Options passed to the Fruchterman-Reingold algorithm.

Author
JKM

This structure holds the settings used by the Fruchterman-Reingold algorithm.

Note
: boundary (can use fit_to_window instead), mag (seems to have no effect), enable_comps (assists with compartments, but causes layouts to overlap), and prerandomize (can use randomizeLayout instead) have been removed.

The documentation for this struct was generated from the following file: