Graph

Plot transfer graph

create_transfer_graph()

Creates a graph for covid patient’s transfer from covid transfer’s data.

Returns

graph of covid patient’s transfer

Return type

networkx.classes.digraph.DiGraph

plot_adjacency_matrix(G)

Plot and return the adjacency matrix of the graph G.

Parameters

G (networkx.classes.digraph.DiGraph) – graph

Returns

adjacency matrix

Return type

scipy.sparse.csr.csr_matrix

plot_transfer_graph(G)

Plots a graph for covid patient’s transfer from covid transfer’s data.

Parameters

G (networkx.classes.digraph.DiGraph) – graph of covid patient’s transfer