Preprint
Article

This version is not peer-reviewed.

On Edge-MetaGraph

Submitted:

08 March 2026

Posted:

10 March 2026

You are already at the latest version

Abstract
This paper studies graph-based higher-order structures related to metagraphs and edgelabeled hierarchical networks. After reviewing MetaGraphs and Iterated MetaGraphs, we introduce the notion of an Edge-MetaGraph, in which each edge is labeled by a two-ported internal graph, allowing edge-substitution expansion through port gluing. We then define Iterated EdgeMetaGraphs recursively, so that edges may carry nested Edge-MetaGraph structures. Concrete examples from biomedical systems, software pipelines, and logistics are presented to illustrate the expressive power of the proposed framework.
Keywords: 
;  ;  

1. Preliminaries

This section establishes notation and summarizes the set-theoretic and combinatorial notions needed in the sequel. Throughout, all sets that serve as vertex domains are assumed to be finite, and we write N 0 : = N { 0 } .

1.1. MetaGraph (Graph of Graphs)

Graph theory investigates mathematical structures consisting of vertices and edges to model relationships and connectivity [1,2]. A MetaGraph is a graph whose vertices are themselves graphs, with edges representing specified relations between those graphs (cf.[3,4,5,6]).
Definition 1.1.
(Metagraph (graph of graphs)).  [7] Fix a nonempty universe G of finite graphs (undirected, loopless by default) and a nonempty family of binary relations
R P G × G .
A metagraph over ( G , R ) is a directed, labelled multigraph
M = ( V , E , s , t , λ )
with
V G , s , t : E V , λ : E R ,
satisfying the incidence constraint
e E : s ( e ) , t ( e ) λ ( e ) .
Elements of V are meta-vertices (each is a graph G G ). For e E with λ ( e ) = R , we write s ( e ) R t ( e ) and call e a meta-edge. If R = { R } is a singleton, labels may be omitted. If every R R is symmetric, M can be viewed as an undirected labelled multigraph.
Remark 1.1.
We fix a common base universe G of finite, loopless graphs that encode biochemical modules. Each G G comes with a vertex-labeling V : V ( G ) Σ V (e.g. metabolite/protein/gene names) and, when needed, an edge-labeling E : E ( G ) Σ E (e.g. reaction/interaction types). We use the following chemically meaningful binary relations on G :
R shareM ( G , H ) : { metabolite names in G } { metabolite names in H } , R shareP ( G , H ) : { protein names in G } { protein names in H } , R GRN Δ ( G , H ) : E ( G ) E ( H ) ( directed GRNs ; activation / inhibition labels allowed ) .
Set R : = { R shareM , R shareP , R GRN Δ } .

1.2. Iterated MetaGraph (Graph of Graphs of ... of Graphs)

An Iterated MetaGraph is a graph whose vertices are metagraphs, recursively extending graph-of-graphs structure to multiple hierarchical levels [7,8,9]. Related concepts, such as MetaStructures [10,11], are also known.
Definition 1.2
(Unit metagraph embedding). [7] For X G define the unit metagraph
U ( X ) : = { X } , , _ , _ , _ .
This gives an injective map U : G Obj Meta ( G , R ) .
Definition 1.3
(Relation lifting). Given R on G , define its lift R on finite metagraphs over ( G , R ) by
R R , ( M 1 , M 2 ) R x V ( M 1 ) , y V ( M 2 ) : ( x , y ) R .
Set R : = { R : R R } .
Definition 1.4
(Iterated object and relation universes). Define recursively for t N 0 :
G ( 0 ) : = G , R ( 0 ) : = R ,
G ( t + 1 ) : = finite metagraphs over G ( t ) , R ( t ) , R ( t + 1 ) : = R ( t ) .
Definition 1.5
(Iterated MetaGraph of depth t). For t N 0 , an iterated metagraph of depth t is a metagraph
M ( t ) = ( V ( t ) , E ( t ) , s ( t ) , t ( t ) , λ ( t ) )
over G ( t ) , R ( t ) , i.e., V ( t ) G ( t ) , λ ( t ) : E ( t ) R ( t ) and
e E ( t ) : s ( t ) ( e ) , t ( t ) ( e ) λ ( t ) ( e ) .
Remark 1.2
We use the relation lifting of the preliminaries: for R R and metagraphs M 1 , M 2 over ( G , R ) ,
( M 1 , M 2 ) R X V ( M 1 ) , Y V ( M 2 ) such that ( X , Y ) R .
Example 1.1
(A concrete iterated metagraph (depth t = 1 ) with a biomedical interpretation). We give an explicit example of an iterated metagraph of depth t = 1 (i.e., a graph whose vertices are metagraphs of base graphs).
Base level ( G ( 0 ) = G ).Let G contain three pathway graphs
G 1 = Glycolysis , G 2 = Pyruvate Oxidation , G 3 = TCA Cycle .
Let R ( 0 ) = { R shareM } , where
( G , H ) R shareM the pathways G and H share at least one metabolite .
Assume ( G 1 , G 2 ) R shareM (shared metabolite: pyruvate) and ( G 2 , G 3 ) R shareM (shared metabolite: acetyl-CoA).
Metagraphs of graphs (objects in G ( 1 ) ).Define two metagraphs over ( G ( 0 ) , R ( 0 ) ) :
M A ( 0 ) : V ( M A ( 0 ) ) = { G 1 , G 2 } , one meta - edge G 1 R shareM G 2 ,
M B ( 0 ) : V ( M B ( 0 ) ) = { G 2 , G 3 } , one meta - edge G 2 R shareM G 3 .
By construction, M A ( 0 ) , M B ( 0 ) G ( 1 ) .
Lifted relation and depth-1 iterated metagraph.Since ( G 2 , G 3 ) R shareM with G 2 V ( M A ( 0 ) ) and G 3 V ( M B ( 0 ) ) , the lifted relation satisfies
M A ( 0 ) , M B ( 0 ) R shareM R ( 1 ) .
Hence the depth-1 iterated metagraph
M ( 1 ) = ( V ( 1 ) , E ( 1 ) , s ( 1 ) , t ( 1 ) , λ ( 1 ) )
can be defined by
V ( 1 ) = { M A ( 0 ) , M B ( 0 ) } , E ( 1 ) = { e } , s ( 1 ) ( e ) = M A ( 0 ) , t ( 1 ) ( e ) = M B ( 0 ) , λ ( 1 ) ( e ) = R shareM .
Figure 1.1 depicts this construction.

2. Results

The results of this paper are presented in this section.

2.1. Edge-MetaGraph (Graph-Labeled Edges)

Edge-MetaGraph is a graph whose edges carry two-ported internal graphs, enabling edge-substitution expansion by gluing ports to endpoints.
Definition 2.1
(Two-ported graphs). Fix a nonempty universe G of finite (undirected, loopless by default) graphs. Atwo-ported graphis a triple
H = ( H , p , p + ) ,
where H G and p , p + V ( H ) are distinguished vertices called thetail-portandhead-port, respectively. We write Tail ( H ) : = p and Head ( H ) : = p + , and denote by
G 2 : = { ( H , p , p + ) : H G , p , p + V ( H ) }
the class of all two-ported graphs over G .
Definition 2.2
(Edge-MetaGraph). Let G 2 be as in Definition 2.1. AnEdge-MetaGraph over G is a directed multigraph equipped with a two-ported-graph label on each edge, i.e., a tuple
E = ( V , E , s , t , ) ,
where ( V , E , s , t ) is a directed multigraph (loops and parallel edges allowed) and
: E G 2
is a labeling map. For e E , writing ( e ) = ( H e , p e , p e + ) , the intended meaning is: the edge e from s ( e ) to t ( e ) carries the internal graph H e , whose ports p e , p e + will be attached to the endpoints s ( e ) , t ( e ) , respectively.
Definition 2.3
(Expansion / edge-substitution). Let E = ( V , E , s , t , ) be an Edge-MetaGraph and write ( e ) = ( H e , p e , p e + ) . Define a graph Expand ( E ) (the expansion of E ) by gluing each labeled graph H e along its ports to the endpoints of e as follows.
Take the disjoint union of vertex sets
W : = V e E V ( H e ) ,
and let ∼ be the smallest equivalence relation on W such that for every e E ,
p e s ( e ) , p e + t ( e ) .
Set V ( Expand ( E ) ) : = W / . For edges, take the disjoint union
F : = e E E ( H e ) ,
and for f = { x , y } E ( H e ) define its endpoints in V ( Expand ( E ) ) to be
[ x ] , [ y ] .
Then Expand ( E ) is the (multi)graph with vertex set W / and edge multiset induced from F.
(If G is a universe of directed graphs, replace { x , y } by ordered pairs ( x , y ) throughout.)
Example 2.1
(Real-world example: software deployment pipeline with edge-level internal dependencies). Consider a company operating a microservice platform. At a coarse operational level, we describe the deployment pipeline as a directed multigraph
( V , E , s , t ) ,
whose vertices are macro-stages:
V = { Code , Build , Test , Deploy , Monitor } .
A directed edge e : Build Test represents the handoff “send build artifacts to the test stage”. However, this handoff is not atomic: it involves multiple tools and checks (artifact registry, signature verification, test orchestration, reporting).
To model such hidden internal structure, define an Edge–MetaGraph
E = ( V , E , s , t , ) , : E G 2 ,
where each edge e E is labeled by a two-ported internal graph
( e ) = ( H e , p e , p e + ) .
For example, for the edge e : Build Test , take H e to be the graph whose vertices are
V ( H e ) = { ArtifactRepo , SignatureCheck , TestRunner , ReportStore } ,
and whose edges represent required interactions (e.g. artifact fetch, signature verification, executing tests, storing reports). Choose ports
p e = ArtifactRepo V ( H e ) , p e + = ReportStore V ( H e ) ,
so that p e is the entry interface to the internal process (receiving artifacts) and p e + is the exit interface (publishing test reports).
Similarly, for the edge Deploy Monitor , the internal graph H e may encode
DeployController MetricsAgent AlertManager ,
with ports identifying the start/end of the deployment-to-observability integration.
Figure 2.1 visualizes the Edge–MetaGraph viewpoint: the outer pipeline is shown together with two illustrative internal graphs attached to edges. By Definition 2.3, the expanded graph Expand ( E ) is obtained by gluing each port p e to s ( e ) and each port p e + to t ( e ) .

2.2. Iterated Edge-MetaGraphs

Iterated Edge-MetaGraphs recursively label each edge by a two-ported Edge-MetaGraph, creating multi-level edge-substitution and expansion hierarchy.
Definition 2.4
(Two-ported iterated Edge-MetaGraphs). Let t N 0 and let E ( t ) be a class of finite objects each equipped with a finite vertex set V ( X ) . A two-ported iterated Edge-MetaGraph of depth t is a triple
X = ( X , p , p + ) , X E ( t ) , p , p + V ( X ) ,
where p and p + are distinguished vertices called the tail-port and head-port. We write Tail ( X ) : = p and Head ( X ) : = p + , and set
E ( t ) 2 : = { ( X , p , p + ) : X E ( t ) , p , p + V ( X ) } .
Definition 2.5
(Iterated Edge-MetaGraph universes). Fix a nonempty universe G of finite graphs (as in the preliminaries). Define recursively a hierarchy E ( t ) t N 0 by
E ( 0 ) : = G ,
and for each t 0 ,
E ( t + 1 ) : = ( V , E , s , t , ) | ( V , E , s , t ) is a finite directed multigraph and : E E ( t ) 2 .
Thus, an object of E ( t + 1 ) is an Edge-MetaGraph whose edge labels are two-ported objects from the previous level E ( t ) .
Definition 2.6
(Iterated Edge-MetaGraph of depth t). Let t N 0 . An iterated Edge-MetaGraph of depth t is an element of E ( t ) from Definition 2.5.
Equivalently, for t 1 it is a tuple
E ( t ) = ( V ( t ) , E ( t ) , s ( t ) , t ( t ) , ( t ) )
such that ( V ( t ) , E ( t ) , s ( t ) , t ( t ) ) is a finite directed multigraph and
( t ) : E ( t ) E ( t 1 ) 2 .
In particular, depth 1 coincides with the (non-iterated) Edge-MetaGraph concept where edges are labeled by two-ported base graphs.
Remark 2.1
(Recursive expansion (optional notation)).  Using the expansion operator Expand already defined for Edge-MetaGraphs, one may define a depth-t flattening Expand ( t ) recursively by
Expand ( 0 ) ( G ) : = G , Expand ( t + 1 ) ( E ) : = Expand V , E , s , t , e Expand ( t ) ( X e ) , p e , p e + ,
where ( e ) = ( X e , p e , p e + ) . This yields an ordinary graph obtained by expanding all nested edge labels down to depth 0.
Example 2.2
(Real-world example: multi-layer logistics & service dependencies). Consider an international e-commerce company that ships products from a factory to a customer. At the top level (depth 2), we model the end-to-end process as a directed multigraph
( V ( 2 ) , E ( 2 ) , s ( 2 ) , t ( 2 ) ) ,
whose vertices are major stages:
V ( 2 ) = { Factory , ExportHub , ImportHub , LastMile , Customer } .
An edge e E ( 2 ) represents a contractual handoff such as ExportHub ImportHub or LastMile Customer .
Each such handoff is not atomic in practice: it is implemented by a nested workflow involving multiple carriers, checkpoints, and IT services. Hence we label every top-level edge e by a two-ported object
( 2 ) ( e ) = ( X e , p e , p e + ) E ( 1 ) 2 ,
where X e E ( 1 ) is a depth-1 Edge–MetaGraph describing the internal sub-process realizing the handoff, and the ports p e , p e + indicate the entry/exit interface of that sub-process.
For instance, the edge e : ExportHub ImportHub may be labeled by a depth-1 Edge–MetaGraph X e whose vertices represent operational checkpoints
V ( X e ) = { PickUp , OriginCustoms , Airline , DestinationCustoms , Unload } ,
and whose edges correspond to concrete tasks (document verification, container scanning, flight booking, etc.). Crucially, each task edge f E ( X e ) is again labeled by a two-ported base graph
X e ( f ) = ( H f , q f , q f + ) E ( 0 ) 2 = G 2 ,
where H f is a small graph encoding the micro-structure of the task, e.g. a dependency graph between IT services:
OrderDB RiskScoring CustomsAPI LabelPrinter .
Thus, the overall system forms an iterated Edge–MetaGraph of depth 2: top-level shipment handoffs are edges labeled by depth-1 Edge–MetaGraphs, and inside those, task edges are labeled by two-ported base graphs capturing service-level dependencies. Expanding the structure (recursively) yields a single flattened dependency graph for the entire factory-to-customer delivery pipeline.

Funding

This study did not receive any financial or external support from organizations or individuals.

Data Availability Statement

This research is purely theoretical, involving no data collection or analysis. We encourage future researchers to pursue empirical investigations to further develop and validate the concepts introduced here.

Use of Artificial Intelligence

LLM-based software was used for language polishing (e.g., grammar and clarity checks), formatting verification, and assistance in diagnosing potential LATEX compilation errors. It was not used to produce results or in any manner that would compromise research integrity.

Acknowledgments

We extend our sincere gratitude to everyone who provided insights, inspiration, and assistance throughout this research. We particularly thank our readers for their interest and acknowledge the authors of the cited works for laying the foundation that made our study possible. We also appreciate the support from individuals and institutions that provided the resources and infrastructure needed to produce and share this paper. Finally, we are grateful to all those who supported us in various ways during this project.

Conflicts of Interest

The author confirms that there is no conflict of interest related to the research or its publication.

Ethical Approval

As this research is entirely theoretical in nature and does not involve human participants or animal subjects, no ethical approval is required. I have not engaged in any unethical conduct.

Disclaimer

This work presents theoretical concepts that have not yet undergone practical testing or validation. Future researchers are encouraged to apply and assess these ideas in empirical contexts. While every effort has been made to ensure accuracy and appropriate referencing, unintentional errors or omissions may still exist. Readers are advised to verify referenced materials on their own. The views and conclusions expressed here are the authors’ own and do not necessarily reflect those of their affiliated organizations.

References

  1. Diestel,, R. Graph theory; Springer (print edition); Reinhard Diestel (eBooks), 2024.
  2. Gross, J.L.; Yellen, J.; Anderson, M. Graph theory and its applications; Chapman and Hall/CRC, 2018 .
  3. Lima Filho, R.B.; Sabino-Silva, R.; Carneiro, M.G. High-level classification based on meta-graph of visibility graphs for Autism detection. In Proceedings of the 2025 International Joint Conference on Neural Networks (IJCNN). IEEE, 2025, pp. 1–8.
  4. Azevedo, R.; Lohaus, R.; Paixao, T. Networking networks. Evol Dev 2008, 10, 882.
  5. Velazquez-Garcia, E.; Lopez-Arevalo, I.; Sosa-Sosa, V.J. Representing document semantics by means of graphs. In Proceedings of the 2011 8th International Conference on Electrical Engineering, Computing Science and Automatic Control. IEEE, 2011, pp. 1–6.
  6. Donnat, C.; Holmes, S. Tracking network dynamics: A survey using graph distances. The Annals of Applied Statistics 2018, 12, 971–1012. [CrossRef]
  7. Fujita, T. Metahypergraphs, metasuperhypergraphs, and iterated metagraphs: Modeling graphs of graphs, hypergraphs of hypergraphs, superhypergraphs of superhypergraphs, and beyond. Current Research in Interdisciplinary Studies 2025, 4, 1–23. [CrossRef]
  8. Fujita, T.; Smarandache, F. Representing Higher-Order Networks: A Survey of Graph-Based Frameworks; Neutrosophic Science International Association (NSIA) Publishing House, 2026.
  9. Fujita, T.; Smarandache, F. HyperGraph and SuperHyperGraph Theory with Applications; Neutrosophic Science International Association (NSIA) Publishing House, 2026.
  10. Fujita, T. Metastructure, meta-hyperstructure, and meta-superhyper structure. Journal of Computers and Applications 2025, 1, 1–22.
  11. Fujita, T. Molecular MetaGraph and Molecular Iterated MetaGraph in Chemistryand BioChemistry. Journal of Applied Mathematics and Symbolic Science 2025, 1, 43–57.
Figure 1.1. A depth-1 iterated metagraph: vertices are metagraphs M A ( 0 ) , M B ( 0 ) G ( 1 ) , and the outer edge is labeled by the lifted relation R shareM R ( 1 ) .
Figure 1.1. A depth-1 iterated metagraph: vertices are metagraphs M A ( 0 ) , M B ( 0 ) G ( 1 ) , and the outer edge is labeled by the lifted relation R shareM R ( 1 ) .
Preprints 202051 g001
Figure 2.1. An Edge–MetaGraph for a CI/CD pipeline. The outer directed multigraph encodes macro-stages. Edges e and e are labeled by two-ported internal graphs; dashed curves indicate the port-gluing used in Expand ( E ) .
Figure 2.1. An Edge–MetaGraph for a CI/CD pipeline. The outer directed multigraph encodes macro-stages. Edges e and e are labeled by two-ported internal graphs; dashed curves indicate the port-gluing used in Expand ( E ) .
Preprints 202051 g002
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2026 MDPI (Basel, Switzerland) unless otherwise stated