Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ yarn-error.log*
*.sln
*.sw*
/package-lock.json
bun.lockb
32 changes: 18 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Component data to support those field:

```text
- name[String] to display a node name
- link_url[String] to attach a node link
- image_url[String] to display a node image
- children[Array] node`s children
- mate[Array] node`s mate
Expand All @@ -63,38 +64,41 @@ Example:
```js
{
name: 'root',
image_url: "https://static.refined-x.com/avat.jpg",
link_url: "#root",
image_url: null,
class: ["rootNode"],
children: [
{
name: 'children1',
image_url: "https://static.refined-x.com/avat1.jpg"
link_url: "#children1",
image_url: "https://static.refined-x.com/static/avatar.jpg"
},
{
name: 'children2',
image_url: "https://static.refined-x.com/avat2.jpg",
mate: [{
name: 'mate',
image_url: "https://static.refined-x.com/avat3.jpg"
}],
link_url: "#children2",
image_url: "https://static.refined-x.com/static/avatar.jpg",
mate: [
{
name: 'mate',
}
],
children: [
{
name: 'grandchild',
image_url: "https://static.refined-x.com/avat.jpg"
link_url: "#grandchild",
image_url: "https://static.refined-x.com/static/avatar.jpg"
},
{
name: 'grandchild2',
image_url: "https://static.refined-x.com/avat1.jpg"
link_url: "#grandchild2",
image_url: "https://static.refined-x.com/static/avatar.jpg"
},
{
name: 'grandchild3',
image_url: "https://static.refined-x.com/avat2.jpg"
link_url: "#grandchild3",
image_url: "https://static.refined-x.com/static/avatar.jpg"
}
]
},
{
name: 'children3',
image_url: "https://static.refined-x.com/avat.jpg"
}
]
}
Expand Down
115 changes: 58 additions & 57 deletions dist/TreeChart3.common.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/TreeChart3.common.js.map

Large diffs are not rendered by default.

123 changes: 62 additions & 61 deletions dist/TreeChart3.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/TreeChart3.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/TreeChart3.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/TreeChart3.umd.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/Vue-Tree-Chart/favicon.ico><title>vue-tree-chart</title><link href=/Vue-Tree-Chart/js/app.4c2dc105.js rel=preload as=script><link href=/Vue-Tree-Chart/js/chunk-vendors.6f390d76.js rel=preload as=script></head><body><noscript><strong>We're sorry but blank doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/Vue-Tree-Chart/js/chunk-vendors.6f390d76.js></script><script src=/Vue-Tree-Chart/js/app.4c2dc105.js></script></body></html>
<!doctype html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/Vue-Tree-Chart/favicon.ico"><title>vue-tree-chart</title><script defer="defer" src="/Vue-Tree-Chart/js/chunk-vendors.7cda6b39.js"></script><script defer="defer" src="/Vue-Tree-Chart/js/app.602ade5c.js"></script></head><body><noscript><strong>We're sorry but blank doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
2 changes: 0 additions & 2 deletions docs/js/app.4c2dc105.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/js/app.4c2dc105.js.map

This file was deleted.

Loading