def merge_metadata(g, nodes):
    meta = {}
    for n in nodes:
        m = g.node[n]
        meta.update(m)
        io = m.get('iotype')
        if io == 'state':
            meta['state'] = True
        elif io == 'residual':
            meta['residual'] = True
    return meta
Test the creation of an XlsxWriter file with point formatting.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/depgraph.py/merge_metadata--crossover with--dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/test/comparison/test_chart_points03.py/TestCompareXLSXFiles.test_create_file