1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
.. _multidigraph:
=================================================================
MultiDiGraph - Directed graphs with self loops and parallel edges
=================================================================
Overview
========
.. currentmodule:: networkx
.. autofunction:: MultiDiGraph
=======
Methods
=======
Adding and Removing Nodes and Edges
===================================
.. autosummary::
:toctree: generated/
MultiDiGraph.__init__
MultiDiGraph.add_node
MultiDiGraph.add_nodes_from
MultiDiGraph.remove_node
MultiDiGraph.remove_nodes_from
MultiDiGraph.add_edge
MultiDiGraph.add_edges_from
MultiDiGraph.add_weighted_edges_from
MultiDiGraph.remove_edge
MultiDiGraph.remove_edges_from
MultiDiGraph.add_star
MultiDiGraph.add_path
MultiDiGraph.add_cycle
MultiDiGraph.clear
Iterating over nodes and edges
==============================
.. autosummary::
:toctree: generated/
MultiDiGraph.nodes
MultiDiGraph.nodes_iter
MultiDiGraph.__iter__
MultiDiGraph.edges
MultiDiGraph.edges_iter
MultiDiGraph.out_edges
MultiDiGraph.out_edges_iter
MultiDiGraph.in_edges
MultiDiGraph.in_edges_iter
MultiDiGraph.get_edge_data
MultiDiGraph.neighbors
MultiDiGraph.neighbors_iter
MultiDiGraph.__getitem__
MultiDiGraph.successors
MultiDiGraph.successors_iter
MultiDiGraph.predecessors
MultiDiGraph.predecessors_iter
MultiDiGraph.adjacency_list
MultiDiGraph.adjacency_iter
MultiDiGraph.nbunch_iter
Information about graph structure
=================================
.. autosummary::
:toctree: generated/
MultiDiGraph.has_node
MultiDiGraph.__contains__
MultiDiGraph.has_edge
MultiDiGraph.order
MultiDiGraph.number_of_nodes
MultiDiGraph.__len__
MultiDiGraph.degree
MultiDiGraph.degree_iter
MultiDiGraph.in_degree
MultiDiGraph.in_degree_iter
MultiDiGraph.out_degree
MultiDiGraph.out_degree_iter
MultiDiGraph.size
MultiDiGraph.number_of_edges
MultiDiGraph.nodes_with_selfloops
MultiDiGraph.selfloop_edges
MultiDiGraph.number_of_selfloops
Making copies and subgraphs
===========================
.. autosummary::
:toctree: generated/
MultiDiGraph.copy
MultiDiGraph.to_undirected
MultiDiGraph.to_directed
MultiDiGraph.subgraph
MultiDiGraph.reverse
|