mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
Merge branch 'refactor/maven' into feature/mirror2
This commit is contained in:
@@ -61,9 +61,14 @@ public class SpiceAnalyzer extends NetlistAnalyzer implements INetlistAnalyzer {
|
||||
|
||||
protected Summary summarize(Netlist netlist, Node preferredOutput) throws TreeException {
|
||||
// grab all components that are in the netlist
|
||||
List<IDIYComponent<?>> allComponents = netlist.getComponents();
|
||||
|
||||
List<Group> groups = netlist.getSortedGroups();
|
||||
|
||||
List<IDIYComponent<?>> allComponents = groups.stream()
|
||||
.flatMap(x -> x.getNodes().stream()
|
||||
.map(y -> y.getComponent()))
|
||||
.distinct()
|
||||
.collect(Collectors.toList());
|
||||
|
||||
int unconnectedIndex = groups.size();
|
||||
|
||||
int maxLen = 0;
|
||||
|
||||
Reference in New Issue
Block a user