private Integer priority(FGEdge e) {
			FlowType type = e.getFlowType();
			// making fall through edges a higher priority, makes it more likely that vertices
			// with fall through connections will be direct descendants (closer) when the graph is
			// converted to a tree.
			if (type == RefType.FALL_THROUGH) {
				return 1;  // lower is more preferred
			}
			return 10;
		}
Adapts the {@link AbstractFlowChartLayout} to work for {@link FunctionGraph}s.
Ghidra/Features/FunctionGraph/src/main/java/ghidra/app/plugin/core/functiongraph/graph/layout/flowchart/FGFlowChartLayout.java