Git Product home page Git Product logo

obsidian-graphviz's People

Contributors

d0ssant0s avatar ebdavison avatar qamichaelpeng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

obsidian-graphviz's Issues

Error: spawn /usr/bin/dot ENOENT

"/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!

Does not render graphs sometimes

I have about 15 graphs in my note and some of them don't render
Screenshot_20230310_195314
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

Can I use graphviz as dot path

Thanks for the plugin,
I would like to use graphviz but dot for the code block. It has no effect if the change the option.

image

Thanks.

Draw nodes using Graphviz

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

[FR] Add support for rendering graphs with the native obsidian theme

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

BUG REPORT: Typographical error for `dot` script for MacOS, extra `comma` char instead of space in `dot` script

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 version
dot - graphviz version 10.0.1 (20240210.2158)
  • Obsidian version
Version 1.5.8 (Installer 1.5.3)
  • MacOS
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

Encoding with utf-8

Problems:

When the plugin render the dot code into graph, it cannot show non-ascii characters correctly.

Analysis:

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. .

Conclusion:

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.

Plugin not supported on iPad devices

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

Where is the dot file?

I installed the plugin in Obsidian and Graphviz on Windows 10 but I have no clue where to find the DOT file.

New plugin name requirements

Hi @QAMichaelPeng

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:

  1. Modify the manifest.json file in your plugin repository.
  2. Generate a new release for your plugin to ensure users download the updated manifest.

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

Load graph from .dot-Files

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.

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.