Data structure (graph)
Opened this issue · 0 comments
tshemsedinov commented
- Constructor:
new KnowledgeGraph() - Add element
KnowledgeGraph.add(element)
Where element is object of following structure:
element: {
name:
languages: ['JavaScript', 'C#', 'Python', 'LISP'],
description: {
<language1>: 'text',
...
<languageN>: 'text'
}
dependencies: ['RepoName', .... 'NameN'], // read from file
dependent: ['RepoName', .... 'NameN'] // dynamically built
}