-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Add Customizable Graph Position Options and Visibility Toggle for Enhanced Visualization #40
Comments
Of course, if my modifications do not align with your original design intent, then let it remain unchanged. I will use it as it is. |
I discovered through developer mode that in reading mode, the functions Node.prototype.detach = function() {
if (this.classList && this.classList.contains('mod-header')) {
// console.log('Skipping detach for mod-header:', this);
return;
}
this.parentNode && this.parentNode.removeChild(this);
};
Node.prototype.setChildrenInPlace = function(t) {
for (var e = this.firstChild, n = new Set(t), r = 0, o = t; r < o.length; r++) {
for (var i = o[r]; e && !n.has(e); ) {
var s = e;
e = e.nextSibling;
// console.log('Node classList:', s.classList);
if (s.nodeType === 1 && s.classList.contains('mod-header')) {
// console.log('Skipping node with mod-header:', s);
} else {
this.removeChild(s);
}
}
i !== e ? this.insertBefore(i, e) : e = e.nextSibling;
}
for (; e; ) {
s = e;
e = e.nextSibling;
if (s.nodeType === 1 && s.classList.contains('mod-header')) {
// console.log('Skipping node with mod-header:', s);
} else {
this.removeChild(s);
}
}
}; |
Thought process is absolutely in the right direction. Would love to use the plugin with these enhancements |
+1 |
Thank you for your work on this plugin. It has been extremely helpful for Obsidian's local graph feature.However, I would like to move the graph to the top right corner of the note interface, similar to the publish layout.
Here is a small adjustment I made to your Styles.css file:
I added two types of graph display modes:
Additionally, I also added a CSS class toggle control using the Style Settings plugin to manage the visibility of the graph banner. The .hide-graph-banner class can be toggled using Obsidian commands, which could be useful with the Commander plugin.
I'd love it if you could consider adding this CSS modification to your plugin. I think it would offer an even richer visualization experience. Thanks again for all your hard work on this plugin!
The text was updated successfully, but these errors were encountered: