(edge, nodes)
| 54 | |
| 55 | |
| 56 | def create_edge_map(edge, nodes): |
| 57 | source = edge["source"] |
| 58 | source_count = nodes[source]["count"] |
| 59 | target = edge["target"] |
| 60 | target_count = nodes[target]["count"] |
| 61 | item = {"from": randint(1, source_count), |
| 62 | "to": randint(1, target_count)} |
| 63 | return item |
| 64 | |
| 65 | |
| 66 | def create_nodes_range(node, map): |
no outgoing calls
no test coverage detected