Skip to main content

Graph Rewriting Components

  • Conference paper
  • First Online:
Graph Transformation (ICGT 2022)

Abstract

We introduce a component model for graph rewriting that allows to model a system as a network of components with interfaces representing shared views of internal states and transformations. Their composition assembles a global view whose behaviour is equivalent to the synchronised distributed execution of local components in the network. Formally, components are arrows in a category with interfaces as objects that, with suitable component connectors, forms a Frobenius algebra. This allows the use of string diagrams to model the architecture of basic components and connectors, such that their assembly is freely generated by the algebraic structure. The compositionality of the proposed model is reflected by Structural Operational Semantic rules.

Research partly supported by MIUR PRIN project 2017FTXR7S “IT-MaTTerS”.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    \({\mathbf {TC}}\) is obtained by applying the Grothendieck construction to the indexed category \({\mathbf {C}}^{op} \rightarrow {\mathbf {Cat}}\), mapping each object T to category \({\mathbf {C}}_T\) and each arrow to the corresponding retyping functor.

  2. 2.

    We may drop the reference to the system if this is clear from context.

References

  1. Baldan, P., Ehrig, H., König, B.: Composition and decomposition of DPO transformations with borrowed context. In: Corradini, A., Ehrig, H., Montanari, U., Ribeiro, L., Rozenberg, G. (eds.) ICGT 2006. LNCS, vol. 4178, pp. 153–167. Springer, Heidelberg (2006). https://doi.org/10.1007/11841883_12

    Chapter  MATH  Google Scholar 

  2. Boehm, P., Fonio, H., Habel, A.: Amalgamation of graph transformations: a synchronization mechanism. J. Comput. Syst. Sci. 34(2/3), 377–408 (1987). https://doi.org/10.1016/0022-0000(87)90030-4

  3. Bonchi, F., Gadducci, F., Kissinger, A., Sobocinski, P., Zanasi, F.: String diagram rewrite theory I: rewriting with Frobenius structure. J. ACM 69(2), 14:1–14:58 (2022)

    Google Scholar 

  4. Bruni, R., Montanari, U., Sassone, V.: Observational congruences for dynamically reconfigurable tile systems. Theoret. Comput. Sci. 335(2–3), 331–372 (2005). https://eprints.soton.ac.uk/261844/

  5. Ehrig, H., Mahr, B.: Fundamentals of Algebraic Specification 2: Module Specifications and Constraints. EATCS Monographs on Theoretical Computer Science, vol. 21. Springer Verlag, Berlin (1990). https://doi.org/10.1007/978-3-642-61284-8

    Book  MATH  Google Scholar 

  6. Ehrig, H., König, B.: Deriving bisimulation congruences in the DPO approach to graph rewriting with borrowed contexts. Math. Struct. Comput. Sci. 16(6), 1133–1163 (2006). https://doi.org/10.1017/S096012950600569X

  7. Engels, G., Heckel, R., Cherchago, A.: Flexible interconnection of graph transformation modules. In: Kreowski, H.-J., Montanari, U., Orejas, F., Rozenberg, G., Taentzer, G. (eds.) Formal Methods in Software and Systems Modeling. LNCS, vol. 3393, pp. 38–63. Springer, Heidelberg (2005). https://doi.org/10.1007/978-3-540-31847-7_3

    Chapter  Google Scholar 

  8. Evans, E.: Domain-Driven Design: Tackling Complexity in the Heart of Software. Addison-Wesley, Boston (2004)

    Google Scholar 

  9. Ferrari, G.L., Hirsch, D., Lanese, I., Montanari, U., Tuosto, E.: Synchronised hyperedge replacement as a model for service oriented computing. In: de Boer, F.S., Bonsangue, M.M., Graf, S., de Roever, W.-P. (eds.) FMCO 2005. LNCS, vol. 4111, pp. 22–43. Springer, Heidelberg (2006). https://doi.org/10.1007/11804192_2

    Chapter  MATH  Google Scholar 

  10. Gadducci, F., Montanari, U.: The tile model. In: Plotkin, G.D., Stirling, C., Tofte, M. (eds.) Proof, Language, and Interaction, Essays in Honour of Robin Milner, pp. 133–166. The MIT Press, Cambridge (2000)

    Google Scholar 

  11. Ghamarian, A.H., Rensink, A.: Generalised compositionality in graph transformation. In: Ehrig, H., Engels, G., Kreowski, H.-J., Rozenberg, G. (eds.) ICGT 2012. LNCS, vol. 7562, pp. 234–248. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-33654-6_16

    Chapter  MATH  Google Scholar 

  12. Groe-Rhode, M., Presicce, F.P., Simeoni, M.: Refinements and modules for typed graph transformation systems. In: Fiadeiro, J.L. (ed.) WADT 1998. LNCS, vol. 1589, pp. 138–151. Springer, Heidelberg (1999). https://doi.org/10.1007/3-540-48483-3_10

    Chapter  Google Scholar 

  13. Heckel, R., Engels, G., Ehrig, H., Taentzer, G.: Classification and comparison of modularity concepts for graph transformation systems. In: Engels, G., Kreowski, H.J., Rozenberg, G. (eds.) Handbook of Graph Grammars and Computing by Graph Transformation, vol. 2, pp. 669–690. World Scientific (1999)

    Google Scholar 

  14. Dan, H., Ugo, M.: Synchronized hyperedge replacement with name mobility. In: Larsen, K.G., Nielsen, M. (eds.) CONCUR 2001. LNCS, vol. 2154, pp. 121–136. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-44685-0_9

    Chapter  Google Scholar 

  15. Hogan, A., et al.: Knowledge Graphs. No. 22 in Synthesis Lectures on Data, Semantics, and Knowledge, Morgan & Claypool (2021). https://kgbook.org/

  16. Lassila, O.: Graph abstractions matter, December 2021. https://2021.connected-data.world

  17. Schad, J.: Graph powered machine learning: Part 1. ML Conference Berlin, October 2021. https://mlconference.ai/ml-summit/

  18. Taentzer, G.: Distributed graphs and graph transformation. Appl. Categorical Struct. 7(4), 431–462 (1999)

    Article  MathSciNet  Google Scholar 

  19. Xiao, G., Ding, L., Cogrel, B., Calvanese, D.: Virtual knowledge graphs: an overview of systems and use cases. Data Intell. 1(3), 201–223 (2019). https://doi.org/10.1162/dint_a_00011

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Andrea Corradini .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Heckel, R., Corradini, A., Gadducci, F. (2022). Graph Rewriting Components. In: Behr, N., Strüber, D. (eds) Graph Transformation. ICGT 2022. Lecture Notes in Computer Science, vol 13349. Springer, Cham. https://doi.org/10.1007/978-3-031-09843-7_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-09843-7_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-09842-0

  • Online ISBN: 978-3-031-09843-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics