Directed Dynamic Graphs

Overview

dynetx.DynDiGraph

Adding and removing nodes and edges

DynDiGraph.__init__([spec, side_effect, …]) Initialize self.
DynDiGraph.add_interaction
DynDiGraph.add_interactions_from

Iterating over nodes and edges

DynDiGraph.interactions
DynDiGraph.interactions_iter
DynDiGraph.in_interactions
DynDiGraph.in_interactions_iter
DynDiGraph.out_interactions
DynDiGraph.out_interactions_iter
DynDiGraph.neighbors
DynDiGraph.neighbors_iter
DynDiGraph.successors
DynDiGraph.successors_iter
DynDiGraph.predecessors
DynDiGraph.predecessors_iter
DynDiGraph.nodes
DynDiGraph.nodes_iter

Information about graph structure

DynDiGraph.has_interaction
DynDiGraph.has_successor
DynDiGraph.has_predecessor
DynDiGraph.number_of_interactions
DynDiGraph.degree
DynDiGraph.degree_iter
DynDiGraph.in_degree
DynDiGraph.in_degree_iter
DynDiGraph.out_degree
DynDiGraph.out_degree_iter
DynDiGraph.size
DynDiGraph.order
DynDiGraph.has_node
DynDiGraph.number_of_nodes
DynDiGraph.to_undirected
DynDiGraph.update_node_attr
DynDiGraph.update_node_attr_from

Dynamic Representation: Access Snapshots and Interactions

DynDiGraph.stream_interactions
DynDiGraph.time_slice
DynDiGraph.temporal_snapshots_ids
DynDiGraph.interactions_per_snapshots
DynDiGraph.inter_event_time_distribution
DynDiGraph.inter_in_event_time_distribution
DynDiGraph.inter_out_event_time_distribution