def time_slices_to_layers(graphs,<EOL>interslice_weight=<NUM_LIT:1>,<EOL>slice_attr='<STR_LIT>',<EOL>vertex_id_attr='<STR_LIT:id>',<EOL>edge_type_attr='<STR_LIT:type>',<EOL>weight_attr='<STR_LIT>'):
G_slices = _ig.Graph.Tree(len(graphs), <NUM_LIT:1>, mode=_ig.TREE_UNDIRECTED)<EOL>G_slices.es[weight_attr] = interslice_weight<EOL>G_slices.vs[slice_attr] = graphs<EOL>return slices_to_layers(G_slices,<EOL>slice_attr,<EOL>vertex_id_attr,<EOL>edge_type_attr,<EOL>weight_attr)<EOL>
Convert time slices to layer graphs.

    Each graph is considered to represent a time slice. This function simply
    connects all the consecutive slices (i.e. the slice graph) with an
    ``interslice_weight``.  The further conversion is then delegated to
    :func:`slices_to_layers`, which also provides further details.

    See Also
    --------
    :func:`find_partition_temporal`

    :func:`slices_to_layers`