(self)
| 21 | self.build_indices() |
| 22 | |
| 23 | def new_node(self): |
| 24 | return Node(label = labels[node_ctr % 2], |
| 25 | properties = {'unique': node_ctr, |
| 26 | 'group': random.choice(groups), |
| 27 | 'doubleval': round(random.uniform(-1, 1), 2), |
| 28 | 'intval': random.randint(1, 10000), |
| 29 | 'stringval': ''.join(random.choice(string.ascii_lowercase) for x in range(6))}) |
| 30 | |
| 31 | def populate_graph(self): |
| 32 | global node_ctr |
no test coverage detected