(self, ctxt, graph_handle: core.BNFlowGraphHandle, node_handles: 'ctypes.pointer[core.BNFlowGraphNodeHandle]', node_handle_count: int)
| 945 | self.handle = core.BNRegisterFlowGraphLayout(name, self._cb) |
| 946 | |
| 947 | def _layout(self, ctxt, graph_handle: core.BNFlowGraphHandle, node_handles: 'ctypes.pointer[core.BNFlowGraphNodeHandle]', node_handle_count: int) -> bool: |
| 948 | try: |
| 949 | graph = FlowGraph(handle=graph_handle) |
| 950 | nodes = [] |
| 951 | for i in range(node_handle_count): |
| 952 | nodes.append(FlowGraphNode(graph=graph, handle=node_handles[i])) |
| 953 | return self.layout(graph, nodes) |
| 954 | except: |
| 955 | log_error(traceback.format_exc()) |
| 956 | return False |
| 957 | |
| 958 | def layout(self, graph: FlowGraph, nodes: List[FlowGraphNode]) -> bool: |
| 959 | return False |
nothing calls this directly
no test coverage detected