VCG no longer supports long_straight_phase.

* src/vcg.c, src/vcg.h: Remove the handling of long_straight_phase.
* src/print_graph.c (print_graph): Adjust.
This commit is contained in:
Akim Demaille
2003-10-01 07:46:41 +00:00
parent 92f5e991da
commit fc8f296538
4 changed files with 28 additions and 35 deletions

View File

@@ -1,3 +1,10 @@
2003-10-01 Akim Demaille <akim@epita.fr>
VCG no longer supports long_straight_phase.
* src/vcg.c, src/vcg.h: Remove the handling of long_straight_phase.
* src/print_graph.c (print_graph): Adjust.
2003-09-30 Frank Heckenbach <frank@g-n-u.de> 2003-09-30 Frank Heckenbach <frank@g-n-u.de>
and Paul Eggert <eggert@twinsun.com> and Paul Eggert <eggert@twinsun.com>

View File

@@ -212,7 +212,6 @@ print_graph (void)
static_graph.port_sharing = no; static_graph.port_sharing = no;
static_graph.finetuning = yes; static_graph.finetuning = yes;
static_graph.long_straight_phase = yes;
static_graph.priority_phase = yes; static_graph.priority_phase = yes;
static_graph.splines = yes; static_graph.splines = yes;

View File

@@ -96,7 +96,6 @@ new_graph (graph *g)
g->dirty_edge_labels = G_DIRTY_EDGE_LABELS; g->dirty_edge_labels = G_DIRTY_EDGE_LABELS;
g->finetuning = G_FINETUNING; g->finetuning = G_FINETUNING;
g->ignore_singles = G_IGNORE_SINGLES; g->ignore_singles = G_IGNORE_SINGLES;
g->long_straight_phase = G_LONG_STRAIGHT_PHASE;
g->priority_phase = G_PRIORITY_PHASE; g->priority_phase = G_PRIORITY_PHASE;
g->manhattan_edges = G_MANHATTAN_EDGES; g->manhattan_edges = G_MANHATTAN_EDGES;
g->smanhattan_edges = G_SMANHATTAN_EDGES; g->smanhattan_edges = G_SMANHATTAN_EDGES;
@@ -797,9 +796,6 @@ output_graph (graph *g, FILE *fout)
if (g->ignore_singles != G_IGNORE_SINGLES) if (g->ignore_singles != G_IGNORE_SINGLES)
fprintf (fout, "\tignore_singles:\t%s\n", fprintf (fout, "\tignore_singles:\t%s\n",
get_decision_str (g->ignore_singles)); get_decision_str (g->ignore_singles));
if (g->long_straight_phase != G_LONG_STRAIGHT_PHASE)
fprintf (fout, "\tlong_straight_phase:\t%s\n",
get_decision_str (g->long_straight_phase));
if (g->priority_phase != G_PRIORITY_PHASE) if (g->priority_phase != G_PRIORITY_PHASE)
fprintf (fout, "\tpriority_phase:\t%s\n", fprintf (fout, "\tpriority_phase:\t%s\n",
get_decision_str (g->priority_phase)); get_decision_str (g->priority_phase));

View File

@@ -758,15 +758,6 @@ struct graph
Default is no. */ Default is no. */
enum decision ignore_singles; enum decision ignore_singles;
/* Long straight phase yes initiates an additional phase that tries to avoid
bendings in long edges.
Long edges are laid out by long straight vertical lines with
gradient 90 degree. Thus, this phase is not very appropriate for
normal layout, but it is recommended, if an orthogonal layout is
selected (see manhattan.edges).
Default is no. */
enum decision long_straight_phase;
/* priority phase yes replaces the normal pendulum method by a /* priority phase yes replaces the normal pendulum method by a
specialized method: It forces straight long edges with 90 degree, specialized method: It forces straight long edges with 90 degree,
just as the straight phase. In fact, the straight phase is a fine just as the straight phase. In fact, the straight phase is a fine