# Lightgraph Loses MetaGraphs MetaData

**URL:** <https://discourse.julialang.org/t/lightgraph-loses-metagraphs-metadata/55067>\
**Category:** General Usage\
**Created:** [February 11, 2021, 3:48pm UTC](https://discourse.julialang.org/t/lightgraph-loses-metagraphs-metadata/55067 "2021-02-11T15:48:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexanderChen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alexanderchen/32/22007_2.png) [@AlexanderChen](https://discourse.julialang.org/u/AlexanderChen)\
**Post date:** [February 11, 2021, 3:48pm UTC](https://discourse.julialang.org/t/lightgraph-loses-metagraphs-metadata/55067/1 "2021-02-11T15:48:00Z")

</div>

Hi,

I have two graphs independent graphs which have metadata included (via Metagraphs). I want to join both graphs and put an edge in to connect them as 1 graph. I do this with `blockdiag()` However, that loses my metadata.

question:  
How can I combine 2 metagraph together while preserving the metadata?

best,
