gvFreeLayout

gvFreeLayout and bb attribute

gvFreeLayout apparently doesn't clear completely the root Agraph_t*, since I get multiple 'boxes' (actually invisible, given resulting colors).
I do call gvFreeLayout between successive gvLayout,gvRender. I think could be a problem in libxdot. Here is the result of operation sequence

first call:
0xa0b540 _draw_ c 7 -#ffffff C 7 -#ffffff P 4 0 0 0 198 234 198 234 0
...

second call:
0xa0b540 _draw_ c 7 -#ffffff C 7 -#ffffff P 4 0 0 0 108 198 108 198 0 c 7 -#ffffff C 7 -#ffffff P 4 0 0 0 198 234 198 234 0
...

third call:

gvFreeLayout leakage

I think gvFreeLayout doesn't delete bb attribute on root graph, or maybe xdot rendering keeps duplicating them.

Dumping xdot _draw_ attribute from root Agraph_t* I get

(first call)

0xdc7200 _draw_ c 7 -#ffffff C 7 -#ffffff P 4 0 0 0 140 142 140 142 0
...

(second call)
0xdc7200 _draw_ c 7 -#ffffff C 7 -#ffffff P 4 0 0 0 140 142 140 142 0 c 7 -#ffffff C 7 -#ffffff P 4 0 0 0 140 142 140 142 0
...

(third call)

Recent comments

Syndicate content