If method is 'portrait', a BFS is performed to compute the 'portrait' of a graph. Previously, the depth limit of the algorithm was set to 500. While we keep 500 as the default value to speed up the computation, we allow users to adapt the depth limit if their data requires it (for example, when they work with extremely large graphs, which can result from large spatial omics FOVs).
If method is 'portrait', a BFS is performed to compute the 'portrait' of a graph. Previously, the depth limit of the algorithm was set to 500. While we keep 500 as the default value to speed up the computation, we allow users to adapt the depth limit if their data requires it (for example, when they work with extremely large graphs, which can result from large spatial omics FOVs).