Skip to content

Commit

Permalink
Add particles
Browse files Browse the repository at this point in the history
  • Loading branch information
nictru committed May 5, 2024
1 parent bfab3af commit 9e073e4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tree/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ if (Shiny) {
.dagMode("td")
.dagLevelDistance(200)
.backgroundColor('#101020')

.linkColor(() => 'rgba(255,255,255,0.2)')
.nodeOpacity(0.9)
.linkDirectionalParticles(2)
.linkDirectionalParticleWidth(0.8)
.linkDirectionalParticleSpeed(0.006)

graph(el).graphData(payload);
}
}
Expand Down

0 comments on commit 9e073e4

Please sign in to comment.