Customize "Powered by Obsidian" on graph view

@lki987 @andrewkumarxyz @vesto.comodo Adding the following code to my publish.js file worked for me. (note that to use javascript like this you need to have a custom domain set up):

function setupGraphSettings() {
    if (app && app.graph && app.graph.renderer) {
        app.graph.renderer.hidePowerTag = true;
        console.log('Graph settings successfully applied.');
    } else {
        console.log('Graph renderer still not available, retrying in 10ms...');
        setTimeout(setupGraphSettings, 10); // Retry after 10ms
    }
}

// Initial call to setupGraphSettings
setupGraphSettings();
2 Likes