Comments (5)
I want to include these, but it is a bit problematic since they're two way. Which file should hold the relations? If adding some kind of database, this is a feature that I'd definitely add.
from org-brain.
With flat files - both files would hold the link. If a.org is related to b.org then a.org will have in its brainrelated heading a link to b.org and, b.org in its heading a link to a.org.
By the way - this could be useful for child-parent relationships. Currently child is stored, but parents could be too. So if a.org is parent of b.org:
a.org has in brainchildrend b.org
b.org has in brainparents a.org
So links are always two-way. They are symmetric for related links (related-related) and antisymmetric for parent-child links.
This approach has 2 advantages:
- since parent state is persisted, you don't need to search for it - just read it off the file (faster, scales better)
- if you visit the given org file directly in org mode (not in brain-visualize) you still can see it's parents. Currently only children are visible.
These are just some thoughts... the implementation might be more complicated?
from org-brain.
Yes, I've thought about storing parent links locally too, it would remedy the speed issues. The problematic thing is when adding/deleting a child link manually; the current file then needs to be added/deleted as a parent in the target as well. Its probably possible to do this in the save hooks, but I haven't tried it yet.
from org-brain.
I have rewritten org-brain
from scratch, please see: https://github.com/Kungsgeten/org-brain/tree/org-brain-id
This new version includes the "jump link" feature (but I call them friends). This will be merged into main in a couple of days, I'm just going to test it a bit more first.
from org-brain.
The 0.4 branch is merged into master, and adds "jump links" as friendships.
from org-brain.
Related Issues (20)
- Latex in a node title HOT 1
- single document use-case HOT 5
- help needed: enabling org-cite/citar actions in visualized buffer HOT 5
- [Q] org-brain-ensure-ids-in-buffer respecting a :noid: tag would be nice HOT 2
- Two questions HOT 6
- Opening an entry instead creates a new file named after entry ID HOT 4
- Invalide function: define-hostmode HOT 2
- Show only description of links in text area HOT 4
- Can't add new nodes to the brain HOT 3
- Symbol’s value as variable is void: org-brain-poly-hostmode when ein:jupyter-server-start HOT 10
- Formating org data at Entry section HOT 1
- Not possible to overwrite mode-keymap HOT 1
- Symbol's value as variable is void: Org-capture-templates HOT 3
- The last grandchild(test level 3'') is showed under the "test level 1" HOT 4
- Is it possible to display all hierarchical under visualize-mind-map? HOT 1
- No more polymode? HOT 2
- Org-brain relationship adding messes up org-roam indexing HOT 1
- How many nodes can org-brain handle? HOT 5
- Finding CUSTOM_ID of a brain (sub+)section node for HTML exports. HOT 3
- Difference between C-u edge and plain edge? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org-brain.