Skip to content

Commit 8b052ff

Browse files
committed
Merge branch 'dev' of https://github.com/terminusdb/terminus-client into dev
2 parents 298316e + ea7d700 commit 8b052ff

File tree

3 files changed

+27
-36
lines changed

3 files changed

+27
-36
lines changed

.github/workflows/production.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build and release on npm
2+
on:
3+
create:
4+
tags:
5+
- v*
6+
7+
jobs:
8+
setup-build-publish-deploy:
9+
name: Setup, Build, Publish, and Deploy
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- name: Use Node.js ${{ matrix.node-version }}
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: 14
18+
registry-url: 'https://registry.npmjs.org'
19+
- run: npm install
20+
- run: npm run build
21+
- run: npm publish
22+
env:
23+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.travis.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

lib/viewer/woqlGraph.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,16 @@ WOQLGraph.prototype.addAdornedEdge = function(source, target, ks, kt, row){
9393
hid = rule.hidden;
9494
}
9595
if(rule.size){
96-
edge.radius = UTILS.getConfigValue(rule.size, row);
96+
edge.size = UTILS.getConfigValue(rule.size, row);
9797
}
9898
if(rule.text){
9999
edge.text = UTILS.getConfigValue(rule.text, row);
100100
}
101101
if(rule.color){
102102
edge.color = UTILS.getConfigValue(rule.color, row);
103+
}
104+
if(rule.icon ){
105+
edge.icon = UTILS.getConfigValue(rule.icon, row);
103106
}
104107
if(rule.distance){
105108
edge.distance = UTILS.getConfigValue(rule.distance, row);

0 commit comments

Comments
 (0)