The general notion of flow graph has been called program graph, but the same term has also been used to denote only control-flow graphs. Flow graphs have also been called unlabeled flowgraphs and proper flowgraphs. These graphs are sometimes used in software testing.
When required to have a single exit, flow graphs have two properties not shared with directed graphs in general: flow graphs can be nested, which is the equivalent of a subroutine call (although there is no notion of passing parameters), and flow graphs can also be sequenced, which is the equivalent of sequential execution of two pieces of code. Prime flow graphs are defined as flow graphs that cannot be decomposed via nesting or sequencing using a chosen pattern of subgraphs, for example the primitives of structured programming. Theoretical research has been done on determining, for example, the proportion of prime flow graphs given a chosen set of graphs.
The number of rooted undirected graphs for 1, 2, ... nodes is 1, 2, 6, 20, 90, 544, ... (sequence A000666 in the OEIS).
Zwillinger, Daniel (2011), CRC Standard Mathematical Tables and Formulae, 32nd Edition, CRC Press, p. 150, ISBN 978-1-4398-3550-0 978-1-4398-3550-0
Harary, Frank (1955), "The number of linear, directed, rooted, and connected graphs", Transactions of the American Mathematical Society, 78 (2): 445–463, doi:10.1090/S0002-9947-1955-0068198-2, MR 0068198. See p. 454. /wiki/Frank_Harary
Gross, Jonathan L.; Yellen, Jay; Zhang, Ping (2013), Handbook of Graph Theory (2nd ed.), CRC Press, pp. 764–765, ISBN 978-1-4398-8018-0 978-1-4398-8018-0
Spencer, Joel (2001), The Strange Logic of Random Graphs, Springer Science & Business Media, chapter 4, ISBN 978-3-540-41654-8 978-3-540-41654-8
Harary (1955, p. 455). - Harary, Frank (1955), "The number of linear, directed, rooted, and connected graphs", Transactions of the American Mathematical Society, 78 (2): 445–463, doi:10.1090/S0002-9947-1955-0068198-2, MR 0068198 https://doi.org/10.1090%2FS0002-9947-1955-0068198-2
Björner, Anders; Ziegler, Günter M. (1992), "8. Introduction to greedoids" (PDF), in White, Neil (ed.), Matroid Applications, Encyclopedia of Mathematics and its Applications, vol. 40, Cambridge: Cambridge University Press, pp. 284–357, doi:10.1017/CBO9780511662041.009, ISBN 0-521-38165-7, MR 1165537, Zbl 0772.05026, In this context a rooted digraph Δ = (V,E,r) is called connected (or 1-connected) if there is a directed path from the root to every vertex. See in particular p. 307. 0-521-38165-7
Gordon, Gary; McMahon, Elizabeth (February 1989), "A greedoid polynomial which distinguishes rooted arborescences" (PDF), Proceedings of the American Mathematical Society, 107 (2): 287, CiteSeerX 10.1.1.308.2526, doi:10.1090/s0002-9939-1989-0967486-0, A rooted subdigraph F is a rooted arborescence if the root vertex ∗ is in F and, for every vertex v in F, there is a unique directed path in F from ∗ to v. Thus, rooted arborescences in digraphs correspond to rooted trees in undirected graphs. https://webbox.lafayette.edu/~gordong/pubs/greedoid.pdf
Ramachandran, Vijaya (1988), "Fast Parallel Algorithms for Reducible Flow Graphs", Concurrent Computations: 117–138, doi:10.1007/978-1-4684-5511-3_8, ISBN 978-1-4684-5513-7, A rooted directed graph or a flow graph G = (V, A, r) is a directed graph with a distinguished vertex r such that there is a directed path in G from r to every vertex v in V − r.. See in particular p. 122. 978-1-4684-5513-7
Okamoto, Yoshio; Nakamura, Masataka (2003), "The forbidden minor characterization of line-search antimatroids of rooted digraphs" (PDF), Discrete Applied Mathematics, 131 (2): 523–533, doi:10.1016/S0166-218X(02)00471-7, A rooted digraph is a triple G=(V,E,r) where (V ∪ {r}, E) is a digraph and r is a specified vertex called the root such that there exists a path from r to every vertex of V.. See in particular p. 524. http://dopal.cs.uec.ac.jp/okamotoy/PDF/2003/rminorWEB.pdf
Jain, Abhinandan (2010), Robot and Multibody Dynamics: Analysis and Algorithms, Springer Science & Business Media, p. 136, ISBN 978-1-4419-7267-5, A rooted digraph is a connected digraph with a single root node that is the ancestor of every other node in the digraph. 978-1-4419-7267-5
Chen, Xujin; Zang, Wenan (2006), "An efficient algorithm for finding maximum cycle packings in reducible flow graphs", Algorithmica, 44 (3): 195–211, doi:10.1007/s00453-005-1174-x, hdl:10722/48600, MR 2199991, S2CID 5235131 /wiki/Doi_(identifier)
Björner, Anders; Ziegler, Günter M. (1992), "8. Introduction to greedoids" (PDF), in White, Neil (ed.), Matroid Applications, Encyclopedia of Mathematics and its Applications, vol. 40, Cambridge: Cambridge University Press, pp. 284–357, doi:10.1017/CBO9780511662041.009, ISBN 0-521-38165-7, MR 1165537, Zbl 0772.05026, In this context a rooted digraph Δ = (V,E,r) is called connected (or 1-connected) if there is a directed path from the root to every vertex. See in particular p. 307. 0-521-38165-7
Knuth, Donald (1997), "2.3.4.2. Oriented trees", The Art of Computer Programming, vol. 1 (3rd ed.), Pearson Education, p. 372, ISBN 0-201-89683-4, It is said to be rooted if there is at least one root, that is, at least one vertex R such that there is an oriented path from V to R for all V ≠ R. 0-201-89683-4
Gross, Yellen & Zhang (2013, p. 1372). - Gross, Jonathan L.; Yellen, Jay; Zhang, Ping (2013), Handbook of Graph Theory (2nd ed.), CRC Press, pp. 764–765, ISBN 978-1-4398-8018-0
Fenton, Norman Elliott; Hill, Gillian A. (1993), Systems Construction and Analysis: A Mathematical and Logical Framework, McGraw-Hill, p. 319, ISBN 978-0-07-707431-9. 978-0-07-707431-9
Zuse, Horst (1998), A Framework of Software Measurement, Walter de Gruyter, pp. 32–33, ISBN 978-3-11-080730-1 978-3-11-080730-1
Samaroo, Angelina; Thompson, Geoff; Williams, Peter (2010), Software Testing: An ISTQB-ISEB Foundation Guide, BCS, The Chartered Institute, p. 108, ISBN 978-1-906124-76-2 978-1-906124-76-2
Tarr, Peri L.; Wolf, Alexander L. (2011), Engineering of Software: The Continuing Contributions of Leon J. Osterweil, Springer Science & Business Media, p. 58, ISBN 978-3-642-19823-6 978-3-642-19823-6
Jalote, Pankaj (1997), An Integrated Approach to Software Engineering, Springer Science & Business Media, p. 372, ISBN 978-0-387-94899-7 978-0-387-94899-7
Thulasiraman, K.; Swamy, M. N. S. (1992), Graphs: Theory and Algorithms, John Wiley & Sons, p. 361, ISBN 978-0-471-51356-8 978-0-471-51356-8
Cechich, Alejandra; Piattini, Mario; Vallecillo, Antonio (2003), Component-Based Software Quality: Methods and Techniques, Springer Science & Business Media, p. 105, ISBN 978-3-540-40503-0 978-3-540-40503-0
Beineke, Lowell W.; Wilson, Robin J. (1997), Graph Connections: Relationships Between Graph Theory and Other Areas of Mathematics, Clarendon Press, p. 237, ISBN 978-0-19-851497-8 978-0-19-851497-8
Zuse, Horst (1998), A Framework of Software Measurement, Walter de Gruyter, pp. 32–33, ISBN 978-3-11-080730-1 978-3-11-080730-1
Zuse, Horst (1998), A Framework of Software Measurement, Walter de Gruyter, pp. 32–33, ISBN 978-3-11-080730-1 978-3-11-080730-1
Jalote, Pankaj (1997), An Integrated Approach to Software Engineering, Springer Science & Business Media, p. 372, ISBN 978-0-387-94899-7 978-0-387-94899-7
Fenton & Hill (1993, p. 323). - Fenton, Norman Elliott; Hill, Gillian A. (1993), Systems Construction and Analysis: A Mathematical and Logical Framework, McGraw-Hill, p. 319, ISBN 978-0-07-707431-9
Fenton & Hill (1993, p. 339). - Fenton, Norman Elliott; Hill, Gillian A. (1993), Systems Construction and Analysis: A Mathematical and Logical Framework, McGraw-Hill, p. 319, ISBN 978-0-07-707431-9
Cooper, C. (2008), "Asymptotic Enumeration of Predicate-Junction Flowgraphs", Combinatorics, Probability and Computing, 5 (3): 215–226, doi:10.1017/S0963548300001991, S2CID 10313545 /wiki/Combinatorics,_Probability_and_Computing
Aczel, Peter (1988), Non-well-founded sets (PDF), CSLI Lecture Notes, vol. 14, Stanford, CA: Stanford University, Center for the Study of Language and Information, ISBN 0-937073-22-9, LCCN 87-17857, MR 0940014, archived from the original (PDF) on 2015-03-26 0-937073-22-9
Gordon, Gary; McMahon, Elizabeth (February 1989), "A greedoid polynomial which distinguishes rooted arborescences" (PDF), Proceedings of the American Mathematical Society, 107 (2): 287, CiteSeerX 10.1.1.308.2526, doi:10.1090/s0002-9939-1989-0967486-0, A rooted subdigraph F is a rooted arborescence if the root vertex ∗ is in F and, for every vertex v in F, there is a unique directed path in F from ∗ to v. Thus, rooted arborescences in digraphs correspond to rooted trees in undirected graphs. https://webbox.lafayette.edu/~gordong/pubs/greedoid.pdf
Drescher, Matthew; Vetta, Adrian (2010), "An Approximation Algorithm for the Maximum Leaf Spanning Arborescence Problem", ACM Trans. Algorithms, 6 (3): 46:1–46:18, doi:10.1145/1798596.1798599, S2CID 13987985. https://escholarship.mcgill.ca/concern/theses/3n204190p
Godsil, C. D.; McKay, B. D. (1978), "A new graph product and its spectrum" (PDF), Bull. Austral. Math. Soc., 18 (1): 21–28, doi:10.1017/S0004972700007760, MR 0494910 /wiki/Chris_Godsil