private boolean alreadyAssigned(Node node) {

			Node left = node.left;
			if (left.col == 0) {
				return false;
			}

			Node right = node.right;
			if (right != null) {
				if (right.col == 0) {
					return false;
				}
			}

			return true;
		}
A simple layout that is used during testing
Ghidra/Features/FunctionGraph/src/test.slow/java/ghidra/app/plugin/core/functiongraph/graph/layout/TestFGLayoutProvider.java