Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aleximb/vue-dag
🏗 Data-driven directed acyclic graph (DAG) builder for Vue.js
https://github.com/aleximb/vue-dag
dag directed-acyclic-graph typescript vue
Last synced: 3 days ago
JSON representation
🏗 Data-driven directed acyclic graph (DAG) builder for Vue.js
- Host: GitHub
- URL: https://github.com/aleximb/vue-dag
- Owner: AlexImb
- License: mit
- Created: 2019-09-23T16:28:47.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T13:53:54.000Z (2 months ago)
- Last Synced: 2024-09-26T05:52:21.519Z (about 2 months ago)
- Topics: dag, directed-acyclic-graph, typescript, vue
- Language: Vue
- Homepage: https://vue-dag.netlify.app
- Size: 2.55 MB
- Stars: 45
- Watchers: 3
- Forks: 8
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 🏗Vue DAG Builder
> Data-driven directed acyclic graph (DAG) visual builder for Vue.js
[![GitHub Actions](https://github.com/aleximb/vue-dag/workflows/run-tests/badge.svg)](https://github.com/aleximb/vue-dag/actions) [![Netlify Status](https://api.netlify.com/api/v1/badges/377debe3-712c-40c8-a4a8-2909fff31db4/deploy-status)](https://app.netlify.com/sites/vue-dag/deploys)
[![npm](https://img.shields.io/npm/v/vue-dag.svg) ![npm](https://img.shields.io/npm/dm/vue-dag.svg)](https://www.npmjs.com/package/vue-dag)
[![vue2](https://img.shields.io/badge/vue-2+-brightgreen.svg)](https://vuejs.org/)
![GitHub](https://img.shields.io/github/license/aleximb/vue-dag.svg)## Examples
[vue-dag-example.netlify.app](https://vue-dag-example.netlify.app/)
![Screenshot](docs/.vuepress/public/screenshot.png)
[eddy-analytics.org](https://eddy-analytics.org)
![Screenshot Eddy](docs/.vuepress/public/screenshot-eddy.png)
## Installation
```bash
npm install --save vue-dag
```
or
```bash
yarn add vue-dag
```Import and register the component
```js
import VueDag from 'vue-dag';
``````js
components: {
VueDag
}
```Use it in templates
```html```
The component does not include any CSS. You'll need to import it separately:
```js
import 'vue-dag/dist/vue-dag.css';
```Alternatively, you can import the SCSS version and overrite variables and styles
```scss
@import 'vue-dag/src/scss/vue-dag.scss';
```Full documentation: [https://vue-dag.netlify.com/](https://vue-dag.netlify.com/)
## Project development setup
### Installs dependencies
```
yarn install
```### Compiles and hot-reloads for development
```
yarn run serve
```### Lints and fixes files
```
yarn run lint
```### Runs unit tests
```
yarn run test:unit
```### Builds as library
```
yarn run build:library
```