libSBNW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros Modules Pages
Classes | Typedefs | Functions
fr.h File Reference

Fruchterman-Reingold algorithm. More...

#include "graphfab/core/SagittariusCore.h"
#include "graphfab/layout/canvas.h"
#include "graphfab/network/network.h"
#include "graphfab/interface/layout.h"

Go to the source code of this file.

Classes

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

Typedefs

typedef struct __fr_options fr_options
 Options passed to the Fruchterman-Reingold algorithm. More...
 

Functions

_GraphfabExport void gf_doLayoutAlgorithm (fr_options opt, gf_layoutInfo *l)
 Run the autolayout (Fruchterman-Reingold) algorithm on a given layout structure. More...
 
_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. More...
 
_GraphfabExport void gf_getLayoutOptDefaults (fr_options *opt)
 Generate default values for the layout options. More...
 
_GraphfabExport void gf_layout_setStiffness (fr_options *opt, double k)
 Set the stiffness for the FR algorithm. More...
 

Detailed Description

Fruchterman-Reingold algorithm.