From 694c361f9d0cc45a2c6749ddf916cd663031f7f8 Mon Sep 17 00:00:00 2001 From: "Jerry.Shen" Date: Fri, 3 Nov 2023 23:17:09 +0800 Subject: [PATCH] update version 0.3.2 --- CHANGELOG.md | 7 +++++++ README.md | 44 +++++++++++++++++++++++++++++++------------- README_zh_CN.md | 4 +++- package.json | 2 +- plugin.json | 4 ++-- pnpm-lock.yaml | 14 ++++++++------ 6 files changed, 52 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6618cf2..6a58e79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGE LOG +## 0.3.2/2023-11-04 + +- [v0.3.1 ... v0.3.2](https://github.com/shenjinglei/siyuan-plugin-graph-enhance/compare/v0.3.1...v0.3.2) + + - Improved the feature of automatic following the current note. + - Upgrade siyuan api to 0.8.8. + ## 0.3.1/2023-11-01 - [v0.3.0 ... v0.3.1](https://github.com/shenjinglei/siyuan-plugin-graph-enhance/compare/v0.3.0...v0.3.1) diff --git a/README.md b/README.md index be55842..4a29434 100644 --- a/README.md +++ b/README.md @@ -5,30 +5,48 @@ ## Get Start After enabling this plug-in, a sidebar will be added in the right top corner. After opening the sidebar, click the function button in the right top corner. The plug-in will draw a diagram according to the current document and display it in the sidebar. -For example, select "Start here" in the Siyuan User Guide, and then click the "Global" button in "Diagram Enhance". The resulting relationship diagram is shown in the preview picture: -![pic2](https://z1.ax1x.com/2023/10/20/piFpN9S.png) +For example, If you link note A with note B, C and D. The relation graph drawn by Siyuan looks like the picture in left side. While the relation graph drawn by this plugin looks like the picture in right side. -[Manual in Chinese](https://ld246.com/article/1696579047798) - -## Function - -- Global Graph -- Vertical Graph -- Horizontal Graph -- Jump To Note -- Setting +![pic1](https://z1.ax1x.com/2023/10/20/piFpacQ.png) ![pic2](https://z1.ax1x.com/2023/10/20/piFpN9S.png) ## Changelog -[CHANGELOG](./CHANGELOG.md) +- v0.3.2 + - Improved the feature of automatic following the current note. Need siyuan version 2.10.13. +- v0.3.1 + - The maximum number of nodes limit applies to all graphs. + - dailynote applies as separating nodes. +- v0.3.0 + - Added a function that separates the graph. +- v0.2.0 + - Added Source Graph + - Added Sink Graph + - Added Neighbor Graph + - Added V&H Graph +- v0.1.0 + - draw global graph + - draw vertical graph + - draw horizontal graph + +more details in [CHANGELOG](./CHANGELOG.md) + +### Manuals + +- [Manual in Chinese](https://ld246.com/article/1696579047798) ## Planning - [ ] Layout - [ ] Color -Welcome to feedback and sponsorship +## Feedback + +- [github issue](https://github.com/shenjinglei/siyuan-plugin-graph-enhance/issues) + +## Sponsor + +- [胖头鱼](https://afdian.net/a/shenjinglei) ## Acknowledge diff --git a/README_zh_CN.md b/README_zh_CN.md index 24d9208..c7cbc59 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -14,6 +14,8 @@ ## 更新日志 +- v0.3.2 + - 优化了关系图自动跟随当前文档功能,思源版本需要 2.10.13 以上 - v0.3.1 - 最大节点数限制将作用于全部的绘制图 - dailynote 将默认作为分割点 @@ -80,7 +82,7 @@ ![](https://z1.ax1x.com/2023/10/27/pieCVeO.png) -从`b`起始的图也不再绘制`c`,`c1`,`c2`之前的节点。 +从`d`起始的图也不再绘制`c`,`c1`,`c2`之前的节点。 ![](https://z1.ax1x.com/2023/10/27/pieCZwD.png) diff --git a/package.json b/package.json index d023740..ebbf5bd 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "mini-css-extract-plugin": "2.3.0", "sass": "^1.62.1", "sass-loader": "^12.6.0", - "siyuan": "0.8.4", + "siyuan": "0.8.8", "tslib": "2.4.0", "typescript": "4.7.4", "webpack": "^5.76.0", diff --git a/plugin.json b/plugin.json index ea857f7..a3f03d9 100644 --- a/plugin.json +++ b/plugin.json @@ -2,8 +2,8 @@ "name": "graph-enhance", "author": "shenjinglei", "url": "https://github.com/shenjinglei/siyuan-plugin-graph-enhance", - "version": "0.3.1", - "minAppVersion": "2.10.6", + "version": "0.3.2", + "minAppVersion": "2.10.13", "backends": ["all"], "frontends": ["all"], "displayName": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 930c252..b095702 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -44,8 +44,8 @@ devDependencies: specifier: ^12.6.0 version: 12.6.0(sass@1.62.1)(webpack@5.76.0) siyuan: - specifier: 0.8.4 - version: 0.8.4 + specifier: 0.8.8 + version: registry.npmmirror.com/siyuan@0.8.8 tslib: specifier: 2.4.0 version: 2.4.0 @@ -1776,10 +1776,6 @@ packages: engines: {node: '>=8'} dev: true - /siyuan@0.8.4: - resolution: {integrity: sha512-hkFqTxIiRiPAgS237YV54rhijgHyl/HqPbmcrxn3SJxet3+EOXtPwNKx9awJDHXsp+w/p+VKlkHP3UElrurE4Q==} - dev: true - /slash@3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} @@ -2389,6 +2385,12 @@ packages: version: 4.17.21 dev: false + registry.npmmirror.com/siyuan@0.8.8: + resolution: {integrity: sha512-hWADf2RsEhDVIZhGMVq1CdvI4r1gKOdoI8nSvNszF9ztK/cwKQo90EWDwz/V7uSyWoTgt2xVDZXsIk3ZAS3cvA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/siyuan/-/siyuan-0.8.8.tgz} + name: siyuan + version: 0.8.8 + dev: true + registry.npmmirror.com/tslib@2.3.0: resolution: {integrity: sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/tslib/-/tslib-2.3.0.tgz} name: tslib