Flow graph block list of outgoing edges (read-only)
(self)
| 249 | |
| 250 | @property |
| 251 | def outgoing_edges(self) -> List[FlowGraphEdge]: |
| 252 | """Flow graph block list of outgoing edges (read-only)""" |
| 253 | count = ctypes.c_ulonglong() |
| 254 | edges = core.BNGetFlowGraphNodeOutgoingEdges(self.handle, count) |
| 255 | assert edges is not None, "core.BNGetFlowGraphNodeOutgoingEdges returned None" |
| 256 | result = [] |
| 257 | for i in range(0, count.value): |
| 258 | branch_type = BranchType(edges[i].type) |
| 259 | target = edges[i].target |
| 260 | if target: |
| 261 | target = FlowGraphNode(self._graph, core.BNNewFlowGraphNodeReference(target)) |
| 262 | points = [] |
| 263 | for j in range(0, edges[i].pointCount): |
| 264 | points.append((edges[i].points[j].x, edges[i].points[j].y)) |
| 265 | result.append( |
| 266 | FlowGraphEdge(branch_type, self, target, points, edges[i].backEdge, EdgeStyle(edges[i].style)) |
| 267 | ) |
| 268 | core.BNFreeFlowGraphNodeEdgeList(edges, count.value) |
| 269 | return result |
| 270 | |
| 271 | @property |
| 272 | def incoming_edges(self): |
nothing calls this directly
no test coverage detected