|
Graphviz 14.0.3~dev.20251104.0241
|
#include "config.h"#include "../tools/openFile.h"#include <algorithm>#include <cgraph/cgraph.h>#include <cgraph/ingraphs.h>#include <getopt.h>#include <iomanip>#include <iostream>#include <sstream>#include <unordered_map>#include <utility>#include <util/debug.h>#include <util/exit.h>#include <vector>#include <sparse/DotIO.h>#include <mingle/edge_bundling.h>#include <mingle/nearest_neighbor_graph.h>Go to the source code of this file.
Data Structures | |
| struct | etoi_t |
| struct | opts_t |
| struct | PointHash |
| a hash derivation function for int pairs More... | |
Macros | |
| #define | ED_idx(e) (((etoi_t*)AGDATA(e))->idx) |
Typedefs | |
| using | PointMap = std::unordered_map< std::pair< int, int >, int, PointHash > |
Enumerations | |
| enum | fmt_t { FMT_GV , FMT_SIMPLE } |
Functions | |
| static void | usage (int eval) |
| static int | checkG (Agraph_t *g) |
| static void | init (int argc, char *argv[], opts_t &opts) |
| static void | genBundleSpline (const pedge &edge, std::ostream &os) |
| static void | genBundleInfo (const pedge &edge, std::ostream &os) |
| static void | genBundleColors (const pedge &edge, std::ostream &os, double maxwgt) |
| static void | export_dot (FILE *fp, int ne, const std::vector< pedge > &edges, Agraph_t *g) |
| static int | bundle (Agraph_t *g, const opts_t &opts) |
| int | main (int argc, char *argv[]) |
Variables | |
| static char * | fname |
| static FILE * | outfile |
| static char ** | Files |
| static const char | use_msg [] |
Definition at line 40 of file minglemain.cpp.
Definition at line 365 of file minglemain.cpp.
| enum fmt_t |
| Enumerator | |
|---|---|
| FMT_GV | |
| FMT_SIMPLE | |
Definition at line 30 of file minglemain.cpp.
Definition at line 367 of file minglemain.cpp.
References A, agbindrec(), agerr(), agerrorf(), agfstnode(), agfstout(), aghead, agnameof(), agnxtnode(), agnxtout(), AGPREV, agtail, opts_t::angle, opts_t::angle_param, B, checkG(), opts_t::compatibility_method, dim, ED_idx, edge_bundling(), export_dot(), opts_t::fmt, FMT_GV, fname, FORMAT_CSR, free(), getDotNodeID(), GV_DEBUG, initDotIO(), opts_t::K, opts_t::max_recursion, opts_t::method, nearest_neighbor_graph(), opts_t::nneighbors, opts, opts_t::outer_iter, outfile, pedge_export_gv(), setDotNodeID(), SparseMatrix_delete(), SparseMatrix_import_dot(), and SparseMatrix_symmetrize().
Referenced by main().
|
static |
Definition at line 85 of file minglemain.cpp.
References agfstnode(), agfstout(), aghead, agnxtnode(), and agnxtout().
Referenced by bundle().
|
static |
Definition at line 313 of file minglemain.cpp.
References agattr_text(), AGEDGE, agfstnode(), agfstout(), agnxtnode(), agnxtout(), agwrite(), agxset(), ED_idx, edge, genBundleColors(), genBundleInfo(), and genBundleSpline().
Referenced by bundle().
|
static |
Definition at line 283 of file minglemain.cpp.
References dim, edge, and len().
Referenced by export_dot().
|
static |
Definition at line 265 of file minglemain.cpp.
Referenced by export_dot().
|
static |
Definition at line 237 of file minglemain.cpp.
Referenced by export_dot().
|
static |
Definition at line 103 of file minglemain.cpp.
References opts_t::angle, opts_t::angle_param, cmd, COMPATIBILITY_FULL, opts_t::compatibility_method, Files, opts_t::fmt, FMT_GV, FMT_SIMPLE, opts_t::K, M_PI, opts_t::max_recursion, opts_t::method, METHOD_INK, METHOD_INK_AGGLOMERATE, opts_t::nneighbors, openFile(), opts, opts_t::outer_iter, outfile, usage, and Verbose.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 459 of file minglemain.cpp.
References agclose(), agnameof(), bundle(), fileName(), Files, fname, graphviz_exit(), GV_INFO, init(), newIngraph(), nextGraph(), opts, and prev.
|
static |
Definition at line 74 of file minglemain.cpp.
References eval(), graphviz_exit(), and use_msg.
|
static |
Definition at line 56 of file minglemain.cpp.
|
static |
Definition at line 54 of file minglemain.cpp.
|
static |
Definition at line 55 of file minglemain.cpp.
|
static |
Definition at line 58 of file minglemain.cpp.
Referenced by usage().