2022-07-04 22:36:20 +02:00
|
|
|
# LibGitGraph
|
|
|
|
Git grapth visualization API for AntOS application.
|
|
|
|
|
|
|
|
The visualization can be easily integrated to an AntOS application, example:
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
const graph = new API.LibGitGraph({
|
|
|
|
target: this.find("git-graph")
|
|
|
|
});
|
|
|
|
graph.on_open_diff = (files) => {
|
|
|
|
console.log(files);
|
|
|
|
}
|
|
|
|
graph.base_dir = "home://workspace/repo-git";
|
|
|
|
```
|
|
|
|
|
|
|
|
## Change logs:
|
2022-07-05 22:45:28 +02:00
|
|
|
- v0.1.3-b: Support open Git repo with open with dialog
|
2022-07-04 23:01:35 +02:00
|
|
|
- v0.1.2-b: fix init bug
|
|
|
|
- v0.1.1-b: add class to container element
|
2022-07-04 22:36:20 +02:00
|
|
|
- v0.1.0-b: Initial version
|