public JGraphFacade(JGraph graph, Object[] roots,
boolean ignoresHiddenCells, boolean ignoresCellsInGroups,
boolean ignoresUnconnectedCells, boolean directed) {
this(graph, roots, ignoresHiddenCells, ignoresCellsInGroups,
ignoresUnconnectedCells, directed,
new JGraphDistanceCostFunction(graph.getGraphLayoutCache()),
JGraphAlgebra.getSharedInstance());
}