Skip to content

Commit

Permalink
feat(html): smooth edges
Browse files Browse the repository at this point in the history
  • Loading branch information
riezebosch committed Oct 21, 2024
1 parent 56e240c commit a57d324
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 48 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/choco.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
on:
release:
types: [published]
workflow_run:
workflows: [release]
types:
- completed

name: choco
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: download
run: |
${{ github.event.release }} | jq '.assets[] | select(.name=="gitviz_windows_amd64.exe").browser_download_url' | xargs curl -O --output-dir dist
- uses: dawidd6/action-download-artifact@v2
with:
name: dist
path: distecho
run_id: ${{ github.event.workflow_run.id }}
- name: hash
run: |
shasum -a 256 dist/gitviz_windows_amd64.exe | head -c 40 >> ./choco/tools/LICENSE.txt
- id: version
run: echo "::set-output name=version::$($env:GITHUB_REF.Substring(11))"
run: echo "::set-output name=version::$(echo ${{ github.event.workflow_run.ref_name }} | cut -c -2)"

- name: choco pack
uses: crazy-max/ghaction-chocolatey@v1
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/deploy.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/go.yml

This file was deleted.

5 changes: 5 additions & 0 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@
enabled: true,
scaleFactor: 0.5
}
},
smooth: {
type: 'cubicBezier',
roundness: 0.4,
forceDirection: 'horizontal'
}
},
nodes: {
Expand Down

0 comments on commit a57d324

Please sign in to comment.