-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
58 lines (56 loc) · 2.27 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
"use strict";
var knowledge = {
concepts: [
{
id: "knowledge-map",
name: "What is a knowledge map?",
content: [{
text: "Knowledge maps are like a roadmap for pieces of knowledge. They can be used to show others how to navigate from their current set of knowledge to a particular goal. Or they can be used to find people who know something you haven't learnt yet.",
}]
},
{
id: "viewing",
name: "Viewing a knowledge map",
dependencies: ["knowledge-map"],
content: [{
text: "You're doing it right now! Each of the labelled points on the page is called a 'concept' and the arrows joining them are called 'dependencies'. Concepts are pieces of information that can be learned if you have learned all of the concepts which point to it. That is, if you want to learn a concept learn all of its dependencies!",
}]
},
{
id: "creating",
name: "Create your own knowledge map",
dependencies: ["knowledge-map", "viewing"],
content: [{
description: "If you want to share how to do or learn something then create your own map! This concept links to an interactive demonstration that will allow you to create your own knowledge map.",
title: "Knowledge map editing demo",
link: "/cartographer/demo/edit.html"
}, {
description: "Edit your own knowledge map that you can share!",
title: "Knowledge map publishing",
link: "/edit"
}]
},
{
id: "sharing",
name: "Sharing your own knowledge map",
dependencies: ["creating"],
content: [{
description: "Once you've created your own knowledge map you can share it by clicking 'Publish Graph'. You will be given a link that you can use to share your knowledge map.",
title: "Knowledge map publishing",
link: "/edit"
}]
},
{
id: "learning",
name: "Learning using knowledge maps",
dependencies: ["viewing"],
content: [{
text: "You can learn by using the resources attached to a concept or by contacting people who know the concept. The best knowledge maps will give you lots of different resources to try and learn each concept.",
}]
}
]
};
knowledgeMap.create({
graph: knowledge,
plugins: ['modals'],
});