mkdocs-nodegraph 0.2.0__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/PKG-INFO +173 -160
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/README.md +152 -145
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/__init__.py +3 -3
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/generate_graph.py +344 -341
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/graph_opts.json +6 -6
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/mdfile.py +14 -14
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/mdparser.py +95 -95
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/pyvis_opts.js +36 -36
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/templates/template.html +1160 -1158
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/plugin.py +88 -88
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph.egg-info/PKG-INFO +173 -160
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/setup.cfg +4 -4
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/setup.py +46 -46
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/__init__.py +0 -0
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/templates/__init__.py +0 -0
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph.egg-info/SOURCES.txt +0 -0
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph.egg-info/dependency_links.txt +0 -0
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph.egg-info/entry_points.txt +0 -0
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph.egg-info/requires.txt +0 -0
- {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph.egg-info/top_level.txt +0 -0
|
@@ -1,160 +1,173 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: mkdocs-nodegraph
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary: Node Graph plugin for Mkdocs Material
|
|
5
|
-
Home-page: https://yonge123.github.io/mkdocs-nodegraph/nodegraph.html
|
|
6
|
-
Author: JeongYong Hwang
|
|
7
|
-
Author-email: yonge123@gmail.com
|
|
8
|
-
License: MIT
|
|
9
|
-
Project-URL: Source, https://github.com/yonge123/mkdocs-nodegraph/tree/master
|
|
10
|
-
Project-URL: Bug Tracker, https://github.com/yonge123/mkdocs-nodegraph/issues
|
|
11
|
-
Project-URL: Documentation, https://github.com/yonge123/mkdocs-nodegraph/tree/master
|
|
12
|
-
Keywords: mkdocs,plugin,nodegraph
|
|
13
|
-
Requires-Python: >=3.9
|
|
14
|
-
Description-Content-Type: text/markdown
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
mkdocs-nodegraph
|
|
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
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: mkdocs-nodegraph
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Summary: Node Graph plugin for Mkdocs Material
|
|
5
|
+
Home-page: https://yonge123.github.io/mkdocs-nodegraph/nodegraph.html
|
|
6
|
+
Author: JeongYong Hwang
|
|
7
|
+
Author-email: yonge123@gmail.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Source, https://github.com/yonge123/mkdocs-nodegraph/tree/master
|
|
10
|
+
Project-URL: Bug Tracker, https://github.com/yonge123/mkdocs-nodegraph/issues
|
|
11
|
+
Project-URL: Documentation, https://github.com/yonge123/mkdocs-nodegraph/tree/master
|
|
12
|
+
Keywords: mkdocs,plugin,nodegraph
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: mkdocs>=1.4.0
|
|
16
|
+
Requires-Dist: mkdocs-material>=9.5.31
|
|
17
|
+
Requires-Dist: pyembed-markdown>=1.1.0
|
|
18
|
+
Requires-Dist: mkdocs-glightbox>=0.4.0
|
|
19
|
+
Requires-Dist: pyvis>=0.3.0
|
|
20
|
+
Requires-Dist: PyYAML>=6.0.2
|
|
21
|
+
|
|
22
|
+
# mkdocs-nodegraph
|
|
23
|
+
|
|
24
|
+
mkdocs-nodegraph - A Plugin for Visualizing Network Graphs in MkDocs
|
|
25
|
+
|
|
26
|
+
## Summary
|
|
27
|
+
|
|
28
|
+
mkdocs-nodegraph is a documents network graph visualization plugin for the mkdocs-material.
|
|
29
|
+
|
|
30
|
+
It allows you to create interactive visualizations of your documentation structure, helping users navigate through topics more easily.
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## Example
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
<p align="center">
|
|
37
|
+
<a>
|
|
38
|
+
<img alt="example_image_001.png" src="https://github.com/yonge123/mkdocs-nodegraph/blob/master/sources/example_image_001.png?raw=true" data-hpc="true" class="Box-sc-g0xbh4-0 fzFXnm">
|
|
39
|
+
</a>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
<!--  -->
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
<br>
|
|
46
|
+
|
|
47
|
+
YouTube Link
|
|
48
|
+
|
|
49
|
+
- https://www.youtube.com/watch?v=KD1AsW304kc
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
<br>
|
|
53
|
+
|
|
54
|
+
## Install
|
|
55
|
+
|
|
56
|
+
Install with setup.py
|
|
57
|
+
|
|
58
|
+
```shell
|
|
59
|
+
|
|
60
|
+
python.exe setup.py install
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
<br>
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
Install with pip
|
|
68
|
+
|
|
69
|
+
```sh
|
|
70
|
+
pip install mkdocs-nodegraph
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
<br>
|
|
74
|
+
|
|
75
|
+
Uninstall with pip
|
|
76
|
+
|
|
77
|
+
```
|
|
78
|
+
pip uninstall mkdocs-nodegraph
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
<br>
|
|
84
|
+
|
|
85
|
+
## Setup Tags, Node Icon and Color on Markdown File
|
|
86
|
+
|
|
87
|
+
```md
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
tags:
|
|
91
|
+
- CG
|
|
92
|
+
- 3D software
|
|
93
|
+
mdfile_icon: "_sources/svgs/blender.svg"
|
|
94
|
+
mdfile_color: "#ea7600"
|
|
95
|
+
mdfile_site: "https://www.blender.org/"
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
mdfile_icon -> Node Icon
|
|
101
|
+
|
|
102
|
+
mdfile_color -> Node Color
|
|
103
|
+
|
|
104
|
+
mdfile_site -> A website URL that opens on click while holding the Alt key
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
<br>
|
|
108
|
+
|
|
109
|
+
## mkdocs.yml Configuration
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
```yml
|
|
113
|
+
|
|
114
|
+
theme:
|
|
115
|
+
# pip install mkdocs-material
|
|
116
|
+
name: material
|
|
117
|
+
# name: readthedocs
|
|
118
|
+
features:
|
|
119
|
+
# - navigation.tabs
|
|
120
|
+
- content.code.copy
|
|
121
|
+
palette:
|
|
122
|
+
# Palette toggle for dark mode
|
|
123
|
+
- media: "(prefers-color-scheme: dark)"
|
|
124
|
+
scheme: slate
|
|
125
|
+
primary: blue
|
|
126
|
+
accent: blue
|
|
127
|
+
toggle:
|
|
128
|
+
icon: material/brightness-7
|
|
129
|
+
name: Switch to light mode
|
|
130
|
+
# Palette toggle for light mode
|
|
131
|
+
- media: "(prefers-color-scheme: light)"
|
|
132
|
+
scheme: default
|
|
133
|
+
primary: blue
|
|
134
|
+
accent: blue
|
|
135
|
+
toggle:
|
|
136
|
+
icon: material/brightness-4
|
|
137
|
+
name: Switch to dark mode
|
|
138
|
+
|
|
139
|
+
plugins:
|
|
140
|
+
- search
|
|
141
|
+
- offline
|
|
142
|
+
- glightbox:
|
|
143
|
+
skip_classes:
|
|
144
|
+
- collapse-btn
|
|
145
|
+
- nodegraph:
|
|
146
|
+
graphfile: "nodegraph.html"
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
<br>
|
|
151
|
+
|
|
152
|
+
After setting up the nodegraph plugin with its graphfile path, you can build your site
|
|
153
|
+
|
|
154
|
+
```shell
|
|
155
|
+
mkdocs build
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
<br>
|
|
159
|
+
|
|
160
|
+
<!-- After building the site, you can click the button  to open the graph file. -->
|
|
161
|
+
|
|
162
|
+
After building the site, you can click the button <img src="https://github.com/yonge123/mkdocs-nodegraph/raw/master/sources/graph_icon.svg" alt="" style="max-width: 100%;"> to open the graph file.
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<br>
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
## References
|
|
169
|
+
|
|
170
|
+
- https://github.com/barrettotte/md-graph?tab=readme-ov-file
|
|
171
|
+
- https://pyvis.readthedocs.io/en/latest/
|
|
172
|
+
|
|
173
|
+
<br>
|
|
@@ -1,145 +1,152 @@
|
|
|
1
|
-
# mkdocs-nodegraph
|
|
2
|
-
|
|
3
|
-
mkdocs-nodegraph - A Plugin for Visualizing Network Graphs in MkDocs
|
|
4
|
-
|
|
5
|
-
## Summary
|
|
6
|
-
|
|
7
|
-
mkdocs-nodegraph is a documents network graph visualization plugin for the mkdocs-material.
|
|
8
|
-
|
|
9
|
-
It allows you to create interactive visualizations of your documentation structure, helping users navigate through topics more easily.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
<p align="center">
|
|
16
|
-
<a>
|
|
17
|
-
<img alt="example_image_001.png" src="https://github.com/yonge123/mkdocs-nodegraph/blob/master/sources/example_image_001.png?raw=true" data-hpc="true" class="Box-sc-g0xbh4-0 fzFXnm">
|
|
18
|
-
</a>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<!--  -->
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
<br>
|
|
25
|
-
|
|
26
|
-
YouTube Link
|
|
27
|
-
|
|
28
|
-
- https://www.youtube.com/watch?v=KD1AsW304kc
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
<br>
|
|
32
|
-
|
|
33
|
-
## Install
|
|
34
|
-
|
|
35
|
-
Install with setup.py
|
|
36
|
-
|
|
37
|
-
```shell
|
|
38
|
-
|
|
39
|
-
python.exe setup.py install
|
|
40
|
-
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
<br>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
Install with pip
|
|
47
|
-
|
|
48
|
-
```sh
|
|
49
|
-
pip install mkdocs-nodegraph
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
<br>
|
|
53
|
-
|
|
54
|
-
Uninstall with pip
|
|
55
|
-
|
|
56
|
-
```
|
|
57
|
-
pip uninstall mkdocs-nodegraph
|
|
58
|
-
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
<br>
|
|
63
|
-
|
|
64
|
-
## Setup Tags, Node Icon and Color on Markdown File
|
|
65
|
-
|
|
66
|
-
```md
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
tags:
|
|
70
|
-
- CG
|
|
71
|
-
- 3D software
|
|
72
|
-
mdfile_icon: "_sources/svgs/blender.svg"
|
|
73
|
-
mdfile_color: "#ea7600"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
<br>
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
1
|
+
# mkdocs-nodegraph
|
|
2
|
+
|
|
3
|
+
mkdocs-nodegraph - A Plugin for Visualizing Network Graphs in MkDocs
|
|
4
|
+
|
|
5
|
+
## Summary
|
|
6
|
+
|
|
7
|
+
mkdocs-nodegraph is a documents network graph visualization plugin for the mkdocs-material.
|
|
8
|
+
|
|
9
|
+
It allows you to create interactive visualizations of your documentation structure, helping users navigate through topics more easily.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
<a>
|
|
17
|
+
<img alt="example_image_001.png" src="https://github.com/yonge123/mkdocs-nodegraph/blob/master/sources/example_image_001.png?raw=true" data-hpc="true" class="Box-sc-g0xbh4-0 fzFXnm">
|
|
18
|
+
</a>
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
<!--  -->
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<br>
|
|
25
|
+
|
|
26
|
+
YouTube Link
|
|
27
|
+
|
|
28
|
+
- https://www.youtube.com/watch?v=KD1AsW304kc
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
<br>
|
|
32
|
+
|
|
33
|
+
## Install
|
|
34
|
+
|
|
35
|
+
Install with setup.py
|
|
36
|
+
|
|
37
|
+
```shell
|
|
38
|
+
|
|
39
|
+
python.exe setup.py install
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
<br>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
Install with pip
|
|
47
|
+
|
|
48
|
+
```sh
|
|
49
|
+
pip install mkdocs-nodegraph
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
<br>
|
|
53
|
+
|
|
54
|
+
Uninstall with pip
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
pip uninstall mkdocs-nodegraph
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
<br>
|
|
63
|
+
|
|
64
|
+
## Setup Tags, Node Icon and Color on Markdown File
|
|
65
|
+
|
|
66
|
+
```md
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
tags:
|
|
70
|
+
- CG
|
|
71
|
+
- 3D software
|
|
72
|
+
mdfile_icon: "_sources/svgs/blender.svg"
|
|
73
|
+
mdfile_color: "#ea7600"
|
|
74
|
+
mdfile_site: "https://www.blender.org/"
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
mdfile_icon -> Node Icon
|
|
80
|
+
|
|
81
|
+
mdfile_color -> Node Color
|
|
82
|
+
|
|
83
|
+
mdfile_site -> A website URL that opens on click while holding the Alt key
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
<br>
|
|
87
|
+
|
|
88
|
+
## mkdocs.yml Configuration
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
```yml
|
|
92
|
+
|
|
93
|
+
theme:
|
|
94
|
+
# pip install mkdocs-material
|
|
95
|
+
name: material
|
|
96
|
+
# name: readthedocs
|
|
97
|
+
features:
|
|
98
|
+
# - navigation.tabs
|
|
99
|
+
- content.code.copy
|
|
100
|
+
palette:
|
|
101
|
+
# Palette toggle for dark mode
|
|
102
|
+
- media: "(prefers-color-scheme: dark)"
|
|
103
|
+
scheme: slate
|
|
104
|
+
primary: blue
|
|
105
|
+
accent: blue
|
|
106
|
+
toggle:
|
|
107
|
+
icon: material/brightness-7
|
|
108
|
+
name: Switch to light mode
|
|
109
|
+
# Palette toggle for light mode
|
|
110
|
+
- media: "(prefers-color-scheme: light)"
|
|
111
|
+
scheme: default
|
|
112
|
+
primary: blue
|
|
113
|
+
accent: blue
|
|
114
|
+
toggle:
|
|
115
|
+
icon: material/brightness-4
|
|
116
|
+
name: Switch to dark mode
|
|
117
|
+
|
|
118
|
+
plugins:
|
|
119
|
+
- search
|
|
120
|
+
- offline
|
|
121
|
+
- glightbox:
|
|
122
|
+
skip_classes:
|
|
123
|
+
- collapse-btn
|
|
124
|
+
- nodegraph:
|
|
125
|
+
graphfile: "nodegraph.html"
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
<br>
|
|
130
|
+
|
|
131
|
+
After setting up the nodegraph plugin with its graphfile path, you can build your site
|
|
132
|
+
|
|
133
|
+
```shell
|
|
134
|
+
mkdocs build
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
<br>
|
|
138
|
+
|
|
139
|
+
<!-- After building the site, you can click the button  to open the graph file. -->
|
|
140
|
+
|
|
141
|
+
After building the site, you can click the button <img src="https://github.com/yonge123/mkdocs-nodegraph/raw/master/sources/graph_icon.svg" alt="" style="max-width: 100%;"> to open the graph file.
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
<br>
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
## References
|
|
148
|
+
|
|
149
|
+
- https://github.com/barrettotte/md-graph?tab=readme-ov-file
|
|
150
|
+
- https://pyvis.readthedocs.io/en/latest/
|
|
151
|
+
|
|
152
|
+
<br>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
from mkdocs_nodegraph.plugin import GraphViewPlugin
|
|
2
|
-
|
|
3
|
-
__version__ = "0.1.0"
|
|
1
|
+
from mkdocs_nodegraph.plugin import GraphViewPlugin
|
|
2
|
+
|
|
3
|
+
__version__ = "0.1.0"
|