19#define AUTOP -1.0001234
63 double *label_sizes,
double *x,
64 int n_edge_label_nodes,
65 int *edge_label_nodes,
int *flag);
@ ERROR_NOT_SQUARE_MATRIX
void spring_electrical_control_print(spring_electrical_control ctrl)
spring_electrical_control spring_electrical_control_new(void)
void spring_electrical_spring_embedding(int dim, SparseMatrix A, SparseMatrix D, spring_electrical_control ctrl, double *x, int *flag)
void spring_electrical_embedding_fast(int dim, SparseMatrix A0, spring_electrical_control ctrl, double *x, int *flag)
@ SMOOTHING_STRESS_MAJORIZATION_GRAPH_DIST
@ SMOOTHING_STRESS_MAJORIZATION_POWER_DIST
@ SMOOTHING_STRESS_MAJORIZATION_AVG_DIST
double average_edge_length(SparseMatrix A, int dim, double *coord)
void multilevel_spring_electrical_embedding(int dim, SparseMatrix A0, spring_electrical_control ctrl, double *label_sizes, double *x, int n_edge_label_nodes, int *edge_label_nodes, int *flag)
void spring_electrical_control_delete(spring_electrical_control ctrl)
struct spring_electrical_control_struct * spring_electrical_control
void pcp_rotate(int n, int dim, double *x)
void spring_electrical_embedding(int dim, SparseMatrix A0, spring_electrical_control ctrl, double *x, int *flag)
bool random_start
whether to apply SE from a random layout, or from exisiting layout