()
| 9 | import copy |
| 10 | |
| 11 | def graph_init(): |
| 12 | # ------- |
| 13 | # Function definition: 'graph_init()': |
| 14 | # (1) Initialize a directed graph as G |
| 15 | # ------- |
| 16 | # Required parameters: None |
| 17 | # ------- |
| 18 | # Return: an empty directed graph G |
| 19 | # ------- |
| 20 | G = nx.DiGraph() |
| 21 | return G |
| 22 | |
| 23 | |
| 24 | def graph_add_node(graph='', node_name=''): |
no outgoing calls
no test coverage detected