Debian Codegraph @

lib/gvc/README.lifecycles

raw
1 This is an attempt to document the lifecycles of the various datastructures in libgvc.
2
3
4
5
6 gvc ------------------------------------------------------------------------------
7 i/p file --------------------------------------------------- ------------------------
8 i/p graph ------------------------ ------------------------ ------------------------
9 jobset ------------------------ ------------------------ ------------------------
10 layout ------------------------ ------------------------ ----------- -----------
11 job ----------- ----------- ----------- ----------- ----------- -----------
12 render ----------- ----------- ----------- ----------- ----------- -----------
13 page -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
14 gvdevice ----------------------------------------------------------------- -----------
15
16
17 gvc - extends over all input files, all graphs, all layouts, all renderings
18 lasts for as long as the application is dealing with graphs
19 provides management of plugins which should be loaded just once per invocation
20
21 i/p file - can be more than one per gvc
22
23 i/p graph - can be more than one per i/p file
24
25 jobset - all layouts, all renderings of a single graph (not currently implemented)
26
27 layout - a dot, or neato, or etc layout of a single graph
28
29 job - a rendering of a single layout to a single gvdevice
30 possibly including multiple pages from a single rendering, or mutiple refresh renderings for callback events
31
32 render - rendering of the whole of single graph layout in a single format to a single device, possibly in multiple parts,
33
34 page or refresh - one part of a mutipart rendering
35
36 gvdevice - typically, one device per job.
37 in the case of multipage output, a single gvdevice can be used for mutiple jobs and jobsets.
38 a single format to a single file, or a single window on a desktop
39
40