Skip to content

Commit 6d47f38

Browse files
committed
layout: make pfr the default for any sized graph again
the latest layout changes somewhat deprecate fr.
1 parent d002622 commit 6d47f38

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

layout/layout.c

+3-7
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,9 @@ newlayout(Graph *g, int type)
194194
l = emalloc(sizeof *l);
195195
l->ref = 1;
196196
if(type < 0){
197-
if(deflayout < 0){
198-
if(dylen(rnodes) < 64){
199-
nlaythreads = 1;
200-
type = LLfr;
201-
}else
202-
type = LLpfr;
203-
}else
197+
if(deflayout < 0)
198+
type = LLpfr;
199+
else
204200
type = deflayout;
205201
}
206202
if(type == LLpfr3d)

0 commit comments

Comments
 (0)