increase undo stack size

This commit is contained in:
Bane Stojkovic
2025-02-09 15:47:18 +01:00
parent cafb1a2915
commit 3874da705a
4 changed files with 12 additions and 0 deletions
Binary file not shown.
@@ -24,6 +24,7 @@ import java.util.HashSet;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Set; import java.util.Set;
import java.util.stream.Collectors;
import org.diylc.core.IDIYComponent; import org.diylc.core.IDIYComponent;
public abstract class NetlistAnalyzer { public abstract class NetlistAnalyzer {
@@ -54,6 +55,17 @@ public abstract class NetlistAnalyzer {
return tree; return tree;
} }
// protected Tree removeRedundantElements(Tree tree) {
// List<Tree> children = tree.getChildren()
// .stream()
// .map(t -> removeRedundantElements(t))
// .collect(Collectors.toList());
// if (children.size() == 1) {
// Tree first = children.get(0);
// return first;
// }
// }
protected void connectNodes(Netlist netlist, Node nodeA, Node nodeB, List<Tree> concurrentPaths, Tree currentPath, protected void connectNodes(Netlist netlist, Node nodeA, Node nodeB, List<Tree> concurrentPaths, Tree currentPath,
Set<Node> visited) { Set<Node> visited) {
if (nodeA == nodeB) { if (nodeA == nodeB) {
Binary file not shown.
Binary file not shown.