-
Notifications
You must be signed in to change notification settings - Fork 3
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
Exporting org-brain #2
Comments
Thanks tried it quickly, with a small brain it worked, for .dot format I can recommend XDot. Regarding the html export it could support in future any background image and some javascript movable objects/names, which you could place on the background image map, those objects should be clickable, linking to the .org file on harddisk, ready to edit, for example. |
Hi, So I took a test. The export in "dot" gives this. Org-brain simple example :
Export to dot.file
Result (with this tool) The visible problems are as follows:
|
@bepolymathe Thanks for testing! What kind of entry is "Child 1" (I don't see it in your example)? It seems like a file entry. What is the name of the file? Could be the case that spaces in file names messes things up. |
Hi, "Child 1" is a child of "index" like that :
I’ll try without space in name... |
URL's can be added like this as well:
To convert into a clickable SVG which can be opened in the browser at least: Cool would be if we could run local scripts via clicks as well, not sure if this is possible, that would allow any triggering options you might want in future. |
Yes and if you want identify node with active link (with color red for example).
@michaelsjackson can you export to html my exemple ? |
It would be neat if the HTML export could (perhaps as an option) include a clickable graph for every entry. |
It would be even cooler if there were a way to make the in-Emacs graph clickable. :) Maybe, somehow, the clickable SVG/HTML could be parsed by Emacs, and then clicks on the image could be looked up based on that? |
@alphapapa I haven't used images in Emacs much. Can a part of an image be clicked to trigger a function? I agree that it would be nice :) |
@alphapapa do you think we could consider something based on org-graph-view ? |
Please not, org-graph-view is not working in emacs-25.3, which I am using, then I could also not use org-brain's later versions, without any emacs update. I prefer the text view anyway, but could imagine liking an alternative clickable svg export of the graph, partially or even completely, in case I want to use it in some presentation. |
I have been wondering whether it may be sensible to leverage something like mkdocs to export entire org-brains into a static website. Org-roam uses Hugo, but mkdoc already has a variety of plugins and themes and an apparently large community, and seems better suited to documentation or brain-dumps. Pandoc apparently converts a large number of org files to markdown very quickly - and that is an established workflow I guess, even if one were using Hugo like in org-roam. It would save the effort of bothering about CSS and appearance - and only focus on figuring out how the articles are linked as parent/friend etc during an export. I think for example - a simple html export without search functionality and so on makes org-brain export significantly less useful. |
org-brain-export
is a new package. Some people have asked me about export support fororg-brain
. It seems like people are working on different solutions, and I think that the same kind of stuff will need to be done in many of the solutions. Because of thisorg-brain-export
can hopefully provide some common ground.At the moment I've started with basic HTML and GraphViz
dot
export. Mostly since these have been the most requested formats in theorg-brain
repository discussions.The text was updated successfully, but these errors were encountered: