We study the NodeTrix planarity testing problem for flat clustered graphs when the maximum size of each cluster is bounded by a constant k. We consider both the case when the sides of the matrices to which the edges are incident are fixed and the case when they can be chosen arbitrarily. We show that NodeTrix planarity testing with fixed sides can be solved in O(k3k+32·n) time for every flat clustered graph that can be reduced to a partial 2-tree by collapsing its clusters into single vertices. In the general case, NodeTrix planarity testing with fixed sides can be solved in O(n) time for k= 2 , but it is NP-complete for any k> 2. NodeTrix planarity testing remains NP-complete also in the free sides model when k> 4.
Di Giacomo, E., Liotta, G., Patrignani, M., Rutter, I., Tappini, A. (2019). NodeTrix Planarity Testing with Small Clusters. ALGORITHMICA, 81(9), 3464-3493 [10.1007/s00453-019-00585-6].