open on right side

This commit is contained in:
Brian Joseph Petro 2025-02-03 10:57:10 -05:00
parent 27386dd6ee
commit 54ba69d6e2

View file

@ -2077,7 +2077,7 @@ export default class ScGraphView extends Plugin {
this.app.workspace.setActiveLeaf(existingLeaf);
} else {
// Create a new leaf in the current workspace
let leaf = this.app.workspace.getLeaf(true);
let leaf = this.app.workspace.getRightLeaf(false);
// Set the new leaf's view to your custom view
leaf.setViewState({
type: "smart-connections-visualizer",