Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lsvih/cyez

A thin, practical wrapper of cytoscape.js
https://github.com/lsvih/cyez

Last synced: 24 days ago
JSON representation

A thin, practical wrapper of cytoscape.js

Awesome Lists containing this project

README

        

# cytoscape is too easy

## Startup

- Create folder `node_modules/cyez`
- Copy `dist/index.js` into `node_modules/cyez`
- Import cyez in App.vue

```js
import Cyez from 'cyez'

export default {
name:'App',
mounted(){
this.cyez = new Cyez(document.getElementById('graph'), {})
}
}
```

### Install Dependency

```bash
npm install -f
```

### Build

```bash
npm run build
```

### Preview and test

```bash
npm start
```

### Generate documents

```bash
npm run doc
```