Graphviz 13.0.0~dev.20241220.2304
|
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< 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) |
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) |
anonymous enum |
Enumerator | |
---|---|
METHOD_NONE | |
METHOD_FD | |
METHOD_INK_AGGLOMERATE | |
METHOD_INK |
Definition at line 34 of file edge_bundling.h.
anonymous enum |
Enumerator | |
---|---|
COMPATIBILITY_DIST | |
COMPATIBILITY_FULL |
Definition at line 35 of file edge_bundling.h.
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().
void pedge_delete | ( | pedge & | e | ) |
Definition at line 73 of file edge_bundling.cpp.
Referenced by agglomerative_ink_bundling_internal().
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().
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().
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().
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().