Giter Site home page Giter Site logo

obsidian-graph-nested-tags's Introduction

Obsidian Nested tags graph Plugin

This is a plugin for Obsidian.

Links nested tags (Sub_tag->Tag) in graph view: Demo

Usage

  1. Install the plugin in obsidian or do it manually
  2. Enable the plugin
  3. ...
  4. Profit!!!

obsidian forum feature request

Caution! At the moment, there is no Obsidian API for working with the graph. So I did a bit of reverse engineering and found this method. Since this is not part of the public API, I have no confidence that this will work on newer versions.

Manually installing the plugin

  • Copy over main.js, manifest.json to your vault VaultFolder/.obsidian/plugins/graph-nested-tags/.

obsidian-graph-nested-tags's People

Contributors

drpilman avatar ll3006 avatar

Stargazers

Matthias Meschede avatar Poat-87 avatar Kentaro Matsumoto avatar Johnny Nalley avatar Shahriar avatar Turbofish avatar  avatar Kumar Shashwat avatar  avatar  avatar Shadi Abdelsalam avatar Aram avatar Tim avatar  avatar a13ph avatar Levi Rizki Saputra avatar Giancarlo Bonvenuto avatar  avatar  avatar Tenvi avatar Alice Kaerast avatar Ryan Kephart avatar Jimmy Briggs avatar  avatar Andrew Mason avatar  avatar  avatar 박석원 avatar ACai avatar  avatar  avatar  avatar

Watchers

 avatar

obsidian-graph-nested-tags's Issues

parent tags grow

Hey, great plugin! was much needed :)

It would be great if the parent tags grew not only as the number of child-tags grows, but as the number of references in documents of child tags grows.

As in, if #child tag gets used in some documents and the #child node grows on the graph, then #parent/child should also grow proportionally.

Hope that makes sense

Parent tag does not get added if it's missing

Hello! I have noticed a small issue with the plugin:

Say I have some notes tagged #Languages/Japanese, #Languages/Ukrainian and #Languages\Arabic but no note actually tagged #Languages.

In this instance the #Languages node should be created and linked appropriately with its subtags but it's not.
Note that this issue only happens when no notes are tagged with the parent tag.

Also, thank you for the great plugin, it was very much needed!

plugin is broken on v1.5.3

plugin cannot be downloaded/updated/enabled on obsidian version 1.5.3
main.js seems to have been renamed to main.ts, which might cause the issue
I tried to manually install the plugin, but it wouldn't let me enable it still

Older versions of the plugin work perfectly

Created parent tag dosen't show up after restart of obsidian.

While parent tags' nodes will be added by the plugin, as resolved in a previous issue #2 (say #cheese/brie, and #cheese/double_gloucester both exist, but if #cheese itself doesn't exist by itself, a #cheese node will be created by the plugin), after a restart of Obsidian, the created tag will disapear and it will only reapear following a restart of the plugin.

Toggle show nested tags from graph UI

Great plugin! One small addition what would be nice is if the displaying of nested tags could be toggled via the graph options. E.g. Under the Tags toggle, another for Nested Tags. Perhaps if you toggled off Tags, only nested tags would remain visible? Either way, a graph UI toggle versus disabling the plugin would be appreciated. Thanks!

Edit: The local graph only ever shows the nested tag (not the parent), which is fine I think.

Edit2: I think the FR is actually more for an option to not show parent tags for nested tags when parent tags aren't assigned to anything directly. I.e. the ability to hide tag1 and tag2 in the graph from the nested tag1/tag2/tag3 when tag 1 and 2 aren't assigned to any note directly. Hide orphan parent tags or something, essentially like turning this plugin off, but via graph UI toggle.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.