Graphviz  2.41.20171026.1811
Data Structures | Macros | Typedefs | Functions
patchwork.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <patchwork.h>
#include <tree_map.h>
#include "render.h"
Include dependency graph for patchwork.c:

Go to the source code of this file.

Data Structures

struct  treenode_t
 

Macros

#define DFLT_SZ   1.0
 
#define SCALE   1000.0 /* scale up so that 1 is a reasonable default size */
 
#define INSERT(cp)   if(!first) first=cp; if(prev) prev->rightsib=cp; prev=cp;
 

Typedefs

typedef struct treenode_t treenode_t
 

Functions

void patchworkLayout (Agraph_t *g)
 

Macro Definition Documentation

#define DFLT_SZ   1.0

Definition at line 34 of file patchwork.c.

#define INSERT (   cp)    if(!first) first=cp; if(prev) prev->rightsib=cp; prev=cp;

Definition at line 86 of file patchwork.c.

#define SCALE   1000.0 /* scale up so that 1 is a reasonable default size */

Definition at line 35 of file patchwork.c.

Typedef Documentation

typedef struct treenode_t treenode_t

Definition at line 20 of file patchwork.c.

Function Documentation

void patchworkLayout ( Agraph_t g)

Definition at line 275 of file patchwork.c.

References agfindgraphattr, agfindnodeattr, treenode_t::area, treenode_t::r, and rectangle_new().

Referenced by patchwork_layout().