nm-skill-lib offers already a function to detect cycles in Skills (nesting hierarchy) or in combination with LearningUnits. However, the SelfLearnSkill-editor will only show the root Skills by default and, therefore, may hide nested Skills involved in cycles.
To support the user, the editor should also provide a functionality to highlight all Skills, that contain a cycle below its hierarchy. This must also consider problematic Skills, that are nested below multiple Skills.
Given the example from below, there should be the following elements be highlighted:
The cycle (red): 5, 8
Parent Skills of the cycle (yellow): 1, 2, 3, 4, 7
To address this, the nm-skill-lib should be extended by an alternative checking function, that takes only Skills as input and returns for all cycles also all nesting structures from toplevel Skills down to the cycles.
This issue replaces e-Learning-by-SSE/nm-concept#18
nm-skill-lib
offers already a function to detect cycles inSkills
(nesting hierarchy) or in combination withLearningUnits
. However, theSelfLearn
Skill
-editor will only show the rootSkills
by default and, therefore, may hide nestedSkills
involved in cycles.To support the user, the editor should also provide a functionality to highlight all
Skills
, that contain a cycle below its hierarchy. This must also consider problematicSkills
, that are nested below multipleSkills
.Given the example from below, there should be the following elements be highlighted:
Skills
of the cycle (yellow): 1, 2, 3, 4, 7To address this, the
nm-skill-lib
should be extended by an alternative checking function, that takes onlySkills
as input and returns for all cycles also all nesting structures from toplevelSkills
down to the cycles.This issue replaces e-Learning-by-SSE/nm-concept#18