Statistics
| Branch: | Revision:

iof-tools / networkxMiCe / networkx-master / doc / reference / classes / multidigraph.rst @ 5cef0f13

History | View | Annotate | Download (1.91 KB)

1
.. _multidigraph:
2

    
3

    
4
=================================================================
5
MultiDiGraph---Directed graphs with self loops and parallel edges
6
=================================================================
7

    
8
Overview
9
========
10
.. currentmodule:: networkx
11
.. autoclass:: MultiDiGraph
12

    
13
Methods
14
=======
15

    
16
Adding and Removing Nodes and Edges
17
-----------------------------------
18

    
19
.. autosummary::
20
   :toctree: generated/
21

    
22
   MultiDiGraph.__init__
23
   MultiDiGraph.add_node
24
   MultiDiGraph.add_nodes_from
25
   MultiDiGraph.remove_node
26
   MultiDiGraph.remove_nodes_from
27
   MultiDiGraph.add_edge
28
   MultiDiGraph.add_edges_from
29
   MultiDiGraph.add_weighted_edges_from
30
   MultiDiGraph.new_edge_key
31
   MultiDiGraph.remove_edge
32
   MultiDiGraph.remove_edges_from
33
   MultiDiGraph.update
34
   MultiDiGraph.clear
35

    
36

    
37

    
38
Reporting nodes edges and neighbors
39
-----------------------------------
40
.. autosummary::
41
   :toctree: generated/
42

    
43
   MultiDiGraph.nodes
44
   MultiDiGraph.__iter__
45
   MultiDiGraph.has_node
46
   MultiDiGraph.__contains__
47
   MultiDiGraph.edges
48
   MultiDiGraph.out_edges
49
   MultiDiGraph.in_edges
50
   MultiDiGraph.has_edge
51
   MultiDiGraph.get_edge_data
52
   MultiDiGraph.neighbors
53
   MultiDiGraph.adj
54
   MultiDiGraph.__getitem__
55
   MultiDiGraph.successors
56
   MultiDiGraph.succ
57
   MultiDiGraph.predecessors
58
   MultiDiGraph.succ
59
   MultiDiGraph.adjacency
60
   MultiDiGraph.nbunch_iter
61

    
62

    
63
Counting nodes edges and neighbors
64
----------------------------------
65
.. autosummary::
66
   :toctree: generated/
67

    
68
   MultiDiGraph.order
69
   MultiDiGraph.number_of_nodes
70
   MultiDiGraph.__len__
71
   MultiDiGraph.degree
72
   MultiDiGraph.in_degree
73
   MultiDiGraph.out_degree
74
   MultiDiGraph.size
75
   MultiDiGraph.number_of_edges
76

    
77
Making copies and subgraphs
78
---------------------------
79
.. autosummary::
80
   :toctree: generated/
81

    
82
   MultiDiGraph.copy
83
   MultiDiGraph.to_undirected
84
   MultiDiGraph.to_directed
85
   MultiDiGraph.subgraph
86
   MultiDiGraph.edge_subgraph
87
   MultiDiGraph.reverse