Skip to content

Commit

Permalink
update version 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shenjinglei committed Dec 14, 2023
1 parent 9a597a2 commit 68b9bc0
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGE LOG

## 0.4.0/2023-12-14

- [v0.3.6 ... v0.4.0](https://github.com/shenjinglei/siyuan-plugin-graph-enhance/compare/v0.3.6...v0.4.0)

- refactoring
- remove sunburst and tail graph
- adjust edge sparation

## 0.3.6/2023-12-07

- [v0.3.5 ... v0.3.6](https://github.com/shenjinglei/siyuan-plugin-graph-enhance/compare/v0.3.5...v0.3.6)
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ For example, If you link note A with note B, C and D. The relation graph drawn b

## Changelog

- v0.4.0
- remove sunburst and tail graph
- adjust edge sparation
- v0.3.6
- add color to lines
- The color lines start at the starting point and ends at the end of the branch, Like a mind map.
Expand Down
21 changes: 5 additions & 16 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
## 更新日志

- v0.4.0
- 图分割改动,现在无需在插件设置中配置,只需要在笔记文档中引用特定文档即可。
- 起点图,终点图,长尾图功能已移动至`笔记旭日图`插件中。
- 图分割改动,现在无需在插件设置中配置,只需要在笔记文档中引用特定文档即可,具体见功能说明
- 起点图,终点图,长尾图功能已迁移至`笔记旭日图`插件中。
- v0.3.6
- 增加了连接线的颜色
- 颜色连接线从起始点开始,直到该分支的尽头,类似思维导图。
Expand Down Expand Up @@ -62,25 +62,14 @@
- 绘制过程由一个起始点开始,即当前文档,在图中用红色标记;其他链接到的点用蓝色标记。
- 设置中可以调整布局方向、布局方式、节点个数限制等。

### 起点/终点图

起点/终点图会从起点(即没有被其他笔记引用)或终点(即没有引用其他笔记)开始绘制旭日图。

假设起点图如下图所示,说明起始笔记有`A``B`两篇,其中`A`有子笔记`a1``a2`,其下分别还有子笔记`a11``a21`

![](https://z1.ax1x.com/2023/10/27/pieiS2R.png)

- 不足三层的块会被合并入“其他”块中。
- 如果绘制后的图太密集或太稀疏,可以调整设置中的阈值。调高阈值可以减少显示的块数量。

### 邻近图

- 从起始点开始,经过特定次链接可达的点所绘制的图。
- 设置中可以调整该次数。

### 纵横图

- 纵向图和横向图合并后的图。也是关系图增强的默认绘制方式。
- 纵向图和横向图合并后的图。

### 图分割

Expand Down Expand Up @@ -126,11 +115,11 @@

`e`起始的图如下,`c-d`,`c1-d`,`c2-d`的边也不会绘制了。

![](https://z1.ax1x.com/2023/10/27/pieCLhd.png)
![](https://s11.ax1x.com/2023/12/13/pifISNq.png)

`c`起始的图,将会绘制`c-d`的边。

![](https://z1.ax1x.com/2023/10/27/pieP9HS.png)
![](https://s11.ax1x.com/2023/12/13/pifICCV.png)

- 起始于`分割点``分割边`上的图可以跨越分割,同时看到两边的图。

Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "graph-enhance",
"author": "shenjinglei",
"url": "https://github.com/shenjinglei/siyuan-plugin-graph-enhance",
"version": "0.3.6",
"version": "0.4.0",
"minAppVersion": "2.10.13",
"backends": ["all"],
"frontends": ["all"],
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"checkSourceThresholdErrorMsg": "Source Graph Threshold is not a number! Setting hasn't saved",
"checkSinkThresholdErrorMsg": "Sink Graph Threshold is not a number! Setting hasn't saved",

"separationTitle": "graph separation configuration",
"separationTitle": "graph separation configuration (invalid)",
"separationDescription": "support for regular expression, for example: ^Tag$,-1.5",
"pleaseInput": "please input",

Expand Down
4 changes: 2 additions & 2 deletions src/i18n/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"checkSourceThresholdErrorMsg": "起点图阈值不是数字!设置未保存",
"checkSinkThresholdErrorMsg": "起点图阈值不是数字!设置未保存",

"separationTitle": "图分割配置",
"separationDescription": "支持正则表达式,例如:^Tag$,-1.5",
"separationTitle": "图分割配置(无效)",
"separationDescription": "支持正则表达式,例如:^Tag$,-1.5。目前该配置已无效,新的配置方式见使用说明",
"pleaseInput": "请输入",

"nodesExclusionTitle": "排除节点",
Expand Down

0 comments on commit 68b9bc0

Please sign in to comment.