Skip to content

A simple library to manipulate netjson graphs in order to make some robustness analysis

License

Notifications You must be signed in to change notification settings

netCommonsEU/netjson_robustness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netjson-robustness-analyser

A simple library to manipulate netjson graphs in order to make some robustness analysis.

The library contains one ParsedGraph() class initiated with a NetJSON graph. Objects have currently only one method, the condensate_graph() method which returns a block-cut tree representation of the graph. This representation allows to spot the cutpoints of the network, that is, nodes that if removed partition the network. An example of the difference is given by the ninux network topology, as rendered by the netjsongraph.js library. The original view is the follwing one:

ninux map

while the condensed view is:

this one

which clearly helps spotting the critical nodes in the topology.

The simple main can be used as

main.py network.json

this will output a new condensed NetJSON.

About

A simple library to manipulate netjson graphs in order to make some robustness analysis

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages