Skip to content

Commit

Permalink
Merge pull request #129 from Phuire-Research/UI
Browse files Browse the repository at this point in the history
Denote Unified Concept's Mode and Principles.
  • Loading branch information
REllEK-IO authored Oct 29, 2023
2 parents 6362241 + 2011d36 commit 6b719b1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/model/concept.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,16 @@ export function unifyConcepts(
}));
newConcept = unify(newConcept, emergentConcept);
newConcept.name = emergentConcept.name;
if (newConcept.mode) {
newConcept.mode.forEach((m, i) => {
m.toString = () => `MODE: ${newConcept.name} ${i}`;
});
}
if (newConcept.principles) {
newConcept.principles.forEach((p, i) => {
p.toString = () => `PRINCIPLE: ${newConcept.name} ${i}`;
});
}
return filterSimilarQualities(newConcept);
}

Expand Down

0 comments on commit 6b719b1

Please sign in to comment.