pymnet.write_edge_files

pymnet.write_edge_files(net, outputfiles, columnSeparator='\t', rowSeparator='\n', weights=True, masterFile=False, numericNodes=False)

Write a multiplex file separated into files for layers, edges, and nodes.

Parameters:
net: MultiplexNetwork

The MultiplexNetwork object to write.

outputfiles: str

Base name for all output files.

columnSeparator: str

Column separator. Default is tab character.

rowSeparator: str

Row separator. Default is newline character.

weights: bool

If True, include edge weights in the output. Default is True.

masterFile: bool

If True, write a master file collecting the names of all layer files. Default is False.

numericNodes: bool

If True, map node names to numbers. Default is False.