API

Index

Reference

Networks.EdgePersistenceType
EdgePersistence

Trait for edge persitence in a Network. It defines the behavior of edges when a vertex is removed. The following traits are defined:

  • PersistEdges: edges are never removed implicitly.
  • RemoveEdges: edges are always removed implicitly.
  • PruneEdges (default): edges are removed if left stranded (i.e. no other vertex is linked with it).
source
Networks.SimpleNetworkType
SimpleNetwork <: AbstractNetwork

A network represented as an adjacency list. It is the translation of SimpleGraph from Graphs.jl to the Network interface.

Warning

This is mostly a example of compatibility with the Graphs.jl interface, but shouldn't be used as Graphs.SimpleGraph has proven to be problematic.

source