qamichaelpeng / obsidian-graphviz Goto Github PK
View Code? Open in Web Editor NEWGraphviz plugin for obsidian md.
License: MIT License
Graphviz plugin for obsidian md.
License: MIT License
"/usr/bin/dot -Tpng,/run/user/1000/snap.obsidian/tmp-22262-UjL2HCdRHDQr" failed, Error: spawn /usr/bin/dot ENOENT
Also get this if just using dot. Running latest Obsidian snap on Ubuntu 18.04. If I run dot on that file from the command line, without the comma in between png & /run/user/1000/..... it works just fine. Any pointers will be greatly appreciated. Thanks!
I have about 15 graphs in my note and some of them don't render
When I open and close the code block they render again normally for some time, then break again.
I am using obsidian-columns plugin, maybe that will help
I think this drawing method can be an alternative for the current graphing method that does not have any hierarchy in the relations and cannot be organized in a useful way, they just look nice but cannot be grasped in very populated notes
It would be nice if you would pass the current obsidian theme (background color, text color, etc.) into graphviz so that the generated images will integrate nicely into obsidian.
I would be open to make a PR after familiarizing myself with the code if this is of interest
Apparently, there's an extra comma character ,
added into the command issued via the dot
command within MacOS. The error reads:
"dot -Tpng,/var/folders/to/temporary/text/file" failed, Error: spawn dot ENOENT
Instead of [space]
, a comma ,
is inserted between the option -Tpng
and the path-to-tmp-file
causing the error.
I tried to issue the appropriate command and was able to produce the appropriate file. A copy-paste of the same command above results to an error with -Tpng,/var/folders...
as an error flag options. The comma character seems to be considered by the dot
as included in the whole options.
For reference, here are my technical details.
dot - graphviz version 10.0.1 (20240210.2158)
Version 1.5.8 (Installer 1.5.3)
Macbook Air 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:28:58 PST 2023;
root:xnu-10002.81.5~7/RELEASE_X86_64 x86_64
Would love to output images as SVG files rather than PNG.
I'm on a mac running Monterey 12.2.1.
------------------------------------------------------------
~ » which dot /usr/local/bin/dot
when render, it looks like this..
https://www.dropbox.com/s/bzxkw8q8vlmu0o9/Screen%20Shot%202022-02-18%20at%2010.41.57%20AM.png?dl=0
From the description it seems that only dot can be used. Is that correct?
When the plugin render the dot code into graph, it cannot show non-ascii characters correctly.
I had get some error message by give wrong dot path and know that the plugin use -Tpng
as render parameter, and according to this discussion, it might be a problem to show non-ascii charaters when convert to png format. .
So I wondering, maybe offering a conversion type choice might be a good ide, or there might have some solution nowaday to render non-ascii characters correctly.
Hi,
Thank you so much for this great plugin. Unfortunately, it is not currently supported on iPad devices (an information message pops up stating iPad is not supported for this plugin when you try to activate the plugin), is it possible to fix this issue?
Best regards,
David
I installed the plugin in Obsidian and Graphviz on Windows 10 but I have no clue where to find the DOT file.
Per our developer policies,
please ensure that your plugin's name does not include the word "Obsidian".
In addition, the plugin name should not include the word "Plugin", as that is unecessary duplication.
We have already modified the name of your plugin to "Graphviz" in our records.
To maintain compliance, take the following actions:
If you have a idea for a different plugin name, you may also submit a pull request to the obsidianmd/obsidian-releases repository.
Thank you for your cooperation.
— the Obsidian team
It would be nice to be able to import existing .dot-Files like other images using the ![A graph](some.dot)
-Syntax. This way we could render dot-graphs, even if they were generated from an external source, without the need to copy them into an md
all the time they change, what is quite frequently in my use case.
As shown in the screenshot below, obsidian detects this new version of 1.0.4 but fails to install it.
N.B. this version 1.0.4 cannot be found in Releases
: https://github.com/QAMichaelPeng/obsidian-graphviz/releases
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.