metrics.edges ============= .. py:module:: metrics.edges Classes ------- .. autoapisummary:: metrics.edges.EdgeMetrics Module Contents --------------- .. py:class:: EdgeMetrics Handles edge-level metric calculations. .. py:method:: extract_edge_metrics(dpg_model, nodes_list) :staticmethod: Extracts metrics from the edges of a DPG model, including: - Edge Load Centrality - Trophic Differences :param dpg_model: A NetworkX graph representing the DPG. :param nodes_list: List of (node_id, label) tuples. :returns: A pandas DataFrame containing the metrics for each edge in the DPG. :rtype: df