Graph ===== .. currentmodule:: local2global_embedding.network.graph .. autoclass:: Graph :members: :undoc-members: :show-inheritance: :exclude-members: __init__, device, nodes, num_edges, num_features, weighted, weights, degree, .. automethod:: __init__ .. rubric:: Methods .. autosummary:: :nosignatures: ~Graph.__init__ ~Graph.adj ~Graph.adj_weighted ~Graph.bfs_order ~Graph.connected_component_ids ~Graph.edges ~Graph.edges_weighted ~Graph.from_networkx ~Graph.from_tg ~Graph.has_node_labels ~Graph.is_edge ~Graph.lcc ~Graph.neighbourhood ~Graph.nodes_in_lcc ~Graph.partition_graph ~Graph.sample_negative_edges ~Graph.sample_positive_edges ~Graph.subgraph ~Graph.to ~Graph.to_networkx .. rubric:: Attributes .. autosummary:: ~Graph.device ~Graph.nodes ~Graph.num_edges ~Graph.num_features ~Graph.weighted ~Graph.weights ~Graph.degree