diff --git a/README.md b/README.md index 3782b3c..606f91c 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ http://huoyo.gitee.io/ko-time 点开接口时,会显示该接口的调用链路以及运行时长 -![输入图片说明](https://images.gitee.com/uploads/images/2020/1211/191651_15b5424b_1625471.png "屏幕截图.png") +![输入图片说明](docs/ff.png) #### 版本说明 diff --git a/src/main/resources/templates/index-freemarker.html b/src/main/resources/templates/index-freemarker.html index e1dfcec..77b354b 100644 --- a/src/main/resources/templates/index-freemarker.html +++ b/src/main/resources/templates/index-freemarker.html @@ -253,7 +253,7 @@ y1 = y } else { x1 = x + 1.5 * d - y1 = y - 2 * d + 3 * d * (i + 1) / children.length + y1 = y - 2.5 * d + 3 * d * (i + 1) / children.length } child = graph.createMethodNode(childData, x1, y1); let link = graph.createMethodLink(root, child); diff --git a/src/main/resources/templates/index-thymeleaf.html b/src/main/resources/templates/index-thymeleaf.html index 8e321c2..0eee29e 100644 --- a/src/main/resources/templates/index-thymeleaf.html +++ b/src/main/resources/templates/index-thymeleaf.html @@ -253,7 +253,7 @@ y1 = y } else { x1 = x + 1.5 * d - y1 = y - 2 * d + 3 * d * (i + 1) / children.length + y1 = y - 2.5 * d + 3 * d * (i + 1) / children.length } child = graph.createMethodNode(childData, x1, y1); let link = graph.createMethodLink(root, child);