mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-11-08 14:38:28 +01:00
18 lines
431 B
Markdown
18 lines
431 B
Markdown
# 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:
|
|
- v0.1.2-b: add class to container element
|
|
- v0.1.0-b: Initial version |