Skip to content
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

Control graph population #14

Open
KnowledgeGarden opened this issue Feb 2, 2022 · 6 comments
Open

Control graph population #14

KnowledgeGarden opened this issue Feb 2, 2022 · 6 comments
Labels
enhancement Feature requests

Comments

@KnowledgeGarden
Copy link

Currently, graph population is controlled by selection of node types.
Another control might be to place check boxes on each node in the index, and display only those which are selected.

As I build out a graph using a combination of Cosma and Obsidian to add content and links, the graph, one on disease types, gets rather bushy. There are times when I mostly want to explore the neighborhood of a selected disease.

This is, for the most part, a feature request.
If it turns out that this feature already exists, then my apologies; I just installed it this morning and do not see any evidence of such an option.
System is an M1 MacBook Pro.

@infologie
Copy link
Contributor

infologie commented Feb 2, 2022

This is, for the most part, a feature request.

It is, Cosma does not do this yet. Thanks for the suggestion, I'll add it to the list of ideas we have for future updates.

Right now, we're working on another feature: so far, Cosma can only be used to explore one folder at a time, so the next step is to manage multiple folders, each with its own configuration. Everything else is on the back burner. I'll ping you here if we move forward with your request!

@infologie infologie added the enhancement Feature requests label Feb 2, 2022
@GuillaumeHM
Copy link

Hello,

I'm not sure if my request is linked to this one or not, although it seems. So here it is explained with my words:

Cosma build graphs with nodes having attraction and repulsion. The more linked nodes in a zone, the farther go the unlinked others.

When in Focus mode (tickbox F checked), unwanted nodes simply disappear but the graph don't change. When we move a node, we can see that remaining nodes keep being under the repulsion of the hidden ones. So they don't move to use the freed space.

I would like the whole graph to be regenerated with only the displayed nodes. So graph nodes aren't under the repulsion of the hidden ones. It would be more spaced, making the graph clearer. A good side effect is that with a looot of nodes, processor would need less effort to display a simple graph rather than the whole graph with all nodes. I have around 300 nodes and I start to have some lags when I move a node.

What do you think about ?

G.

@infologie
Copy link
Contributor

infologie commented Jul 7, 2024

@GuillaumeHM This is indeed different from what @KnowledgeGarden asked. They asked if we could add individual on/off display toggles for each node. You're asking if we can change the way Focus works, so that instead of filtering the existing graph, it displays a dedicated graph with only the focused nodes. @Myllaume and I thought about this a while ago, there would be significant problems to solve. I encourage you to open another issue for your suggestion, so that we can discuss the details.

@GuillaumeHM
Copy link

Thank you for explaining my problem much better :). Here is the new dedicated issue: #125.

@KnowledgeGarden
Copy link
Author

I have to thank this group for reminding me of Cosma. I installed it on my Mac in 2022 and applied it to Obsidian. But, other projects pulled me away - today, I happily rebooted it for the first time, and now wish to push further on applying it to other documents. The UX particularly suits my needs. Many thanks.

@infologie
Copy link
Contributor

@KnowledgeGarden That is great to hear! In 2022 I think we were on version 1 of the CLI. The biggest changes since then are:

  • 2.0 manage multiple projects
  • 2.1 links can be based on titles instead of ids
  • 2.2 treat bibliographic references as nodes, and citations as links
  • 2.3 proper visual indicators for multi-type nodes
  • 2.4 improved graph display and navigation (fit the whole graph, auto zoom and pan etc.)

Check the Changelog for the full details, and the Now/Next page to know what we're currently doing/planning.

Regarding this issue (you suggested individual on/off display toggles for each node), I will highlight another change which may interest you: you can now hide/show nodes based on tags, just like you can do based on types. I'll let you experiment and revisit this issue if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests
Projects
None yet
Development

No branches or pull requests

3 participants