Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
edge_bundling.h File Reference
#include <sparse/SparseMatrix.h>
#include <vector>
Include dependency graph for edge_bundling.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pedge
 

Enumerations

enum  { METHOD_NONE = -1 , METHOD_FD , METHOD_INK_AGGLOMERATE , METHOD_INK }
 
enum  { COMPATIBILITY_DIST = 0 , COMPATIBILITY_FULL }
 

Functions

std::vector< pedgeedge_bundling (SparseMatrix A, int dim, const std::vector< double > &x, int maxit_outer, double K, int method, int nneighbor, int compatibility_method, int max_recursion, double angle_param, double angle)
 
void pedge_delete (pedge &e)
 
void pedge_wgts_realloc (pedge &e, int n)
 
void pedge_export_gv (FILE *fp, int ne, const std::vector< pedge > &edges)
 
pedge pedge_wgt_new (int np, int dim, double *x, double wgt)
 
void pedge_double (pedge &e)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
METHOD_NONE 
METHOD_FD 
METHOD_INK_AGGLOMERATE 
METHOD_INK 

Definition at line 34 of file edge_bundling.h.

◆ anonymous enum

anonymous enum
Enumerator
COMPATIBILITY_DIST 
COMPATIBILITY_FULL 

Definition at line 35 of file edge_bundling.h.

Function Documentation

◆ edge_bundling()

std::vector< pedge > edge_bundling ( SparseMatrix  A,
int  dim,
const std::vector< double > &  x,
int  maxit_outer,
double  K,
int  method,
int  nneighbor,
int  compatibility_method,
int  max_recursion,
double  angle_param,
double  angle 
)

Definition at line 543 of file edge_bundling.cpp.

References A, agglomerative_ink_bundling(), B, check_compatibility(), dim, force_directed_edge_bundling(), SparseMatrix_struct::m, maxit, METHOD_FD, METHOD_INK, METHOD_INK_AGGLOMERATE, METHOD_NONE, modularity_ink_bundling(), NULL, pedge_double(), pedge_new(), SparseMatrix_delete(), SparseMatrix_symmetrize(), tol, and Verbose.

Referenced by bundle().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pedge_delete()

void pedge_delete ( pedge e)

Definition at line 73 of file edge_bundling.cpp.

Referenced by agglomerative_ink_bundling_internal().

Here is the caller graph for this function:

◆ pedge_double()

void pedge_double ( pedge e)

Definition at line 316 of file edge_bundling.cpp.

References pedge::dim, dim, dist(), pedge::edge_length, len(), pedge::len, pedge::npoints, and pedge::x.

Referenced by agglomerative_ink_bundling_internal(), edge_bundling(), and modularity_ink_bundling().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pedge_export_gv()

void pedge_export_gv ( FILE *  fp,
int  ne,
const std::vector< pedge > &  edges 
)

Definition at line 164 of file edge_bundling.cpp.

References dim, edge, fprint_rgb(), len(), and pedge::x.

Referenced by bundle().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pedge_wgt_new()

pedge pedge_wgt_new ( int  np,
int  dim,
double *  x,
double  wgt 
)

Definition at line 60 of file edge_bundling.cpp.

References pedge::dim, dim, dist(), pedge::edge_length, pedge::len, pedge::npoints, pedge::wgt, pedge::wgts, and pedge::x.

Referenced by agglomerative_ink_bundling_internal().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pedge_wgts_realloc()

void pedge_wgts_realloc ( pedge e,
int  n 
)

Definition at line 301 of file edge_bundling.cpp.

References pedge::dim, pedge::len, pedge::npoints, pedge::wgt, pedge::wgts, and pedge::x.

Referenced by agglomerative_ink_bundling_internal().

Here is the caller graph for this function: