Flow graph block list of incoming edges (read-only)
(self)
| 270 | |
| 271 | @property |
| 272 | def incoming_edges(self): |
| 273 | """Flow graph block list of incoming edges (read-only)""" |
| 274 | count = ctypes.c_ulonglong() |
| 275 | edges = core.BNGetFlowGraphNodeIncomingEdges(self.handle, count) |
| 276 | assert edges is not None, "core.BNGetFlowGraphNodeIncomingEdges returned None" |
| 277 | result = [] |
| 278 | for i in range(0, count.value): |
| 279 | branch_type = BranchType(edges[i].type) |
| 280 | target = edges[i].target |
| 281 | if target: |
| 282 | target = FlowGraphNode(self._graph, core.BNNewFlowGraphNodeReference(target)) |
| 283 | points = [] |
| 284 | for j in range(0, edges[i].pointCount): |
| 285 | points.append((edges[i].points[j].x, edges[i].points[j].y)) |
| 286 | result.append( |
| 287 | FlowGraphEdge(branch_type, self, target, points, edges[i].backEdge, EdgeStyle(edges[i].style)) |
| 288 | ) |
| 289 | core.BNFreeFlowGraphNodeEdgeList(edges, count.value) |
| 290 | return result |
| 291 | |
| 292 | @property |
| 293 | def highlight(self): |
nothing calls this directly
no test coverage detected