Skip to content

Repository files navigation

multinet

Continuous Integration StatusCode Coverage Status

multinet is a networkx extension to handle multiplex network. It contains some useful function to handle operations that specific to multiplex network and it's still pretty much compatible with networkx functions as the aggregated network.

It is currently still in progress.

Install

Install from the source:

$ pip install .

Simple Example

A two layer multiplex network:

>>> import multinet as mn
>>> mg = mn.Multinet()
>>> mg.add_node(1)
>>> mg.add_node(2)
>>> mg.add_edge(1, 2, 'Layer_1')
>>> mg.add_edge(1, 2, 'Layer_2')
>>> mg.number_of_layers()
2

About

Multiplex network package

Resources

Stars

12 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages