Skip to content

Commit

Permalink
no interaction for embed
Browse files Browse the repository at this point in the history
  • Loading branch information
qu-y committed Nov 21, 2024
1 parent 6ecc2aa commit 35613b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/NetworkGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,11 @@ export default Vue.component("NetworkGraph", {
solver: "barnesHut",
},
interaction: {
dragNodes: true,
hideEdgesOnDrag: false,
hideEdgesOnZoom: false,
dragNodes: !this.isEmbed,
navigationButtons: this.showNavigation,
keyboard: true,
keyboard: !this.isEmbed,
dragView: !this.isEmbed,
zoomView: !this.isEmbed,
},
};
},
Expand Down

0 comments on commit 35613b9

Please sign in to comment.