Feature/freeway (#876)

* freeway initial

* freeway improvements

* handle circuits with one path

* freeway improvements
This commit is contained in:
Bane Stojkovic
2025-02-15 09:54:55 +01:00
committed by GitHub
parent cd2f6fe417
commit d996847b6d
8 changed files with 641 additions and 2 deletions
@@ -19,6 +19,10 @@ public class TreeAsciiUtil {
public static final String BOXV = "│";
public static List<String> concatenateMultiLineParallel(List<List<String>> elementLines) {
if (elementLines.size() <= 1) {
return elementLines.stream().findFirst().orElse(new ArrayList<>());
}
List<Integer> lineCounts = elementLines.stream()
.map(lines -> lines.size())