QAMichaelPeng / obsidian-graphviz

Graphviz plugin for obsidian md.
MIT License
73 stars 10 forks source link

Enable alternate output formats #16

Closed hammurapi closed 1 year ago

hammurapi commented 1 year ago

This pull request enables the plugin to render the graph either into png or in svg format. A new "Image format" with the option "png" (default) and "svg" was added. In the processors.ts all the names which include png are changed to a more neutral image. (E.g. convertToPng was changed to convertToImage.)

hammurapi commented 1 year ago

this pull implements the changes for #9

KosmosisDire commented 1 year ago

@QAMichaelPeng This would be very nice to have in the official version of the plugin!

QAMichaelPeng commented 1 year ago

Merged. Thanks. Sorry for the delay.


From: Nathan George @.> Sent: Monday, December 19, 2022 10:59 PM To: QAMichaelPeng/obsidian-graphviz @.> Cc: QAMichaelPeng @.>; Mention @.> Subject: Re: [QAMichaelPeng/obsidian-graphviz] Enable alternate output formats (PR #16)

@QAMichaelPenghttps://github.com/QAMichaelPeng This would be very nice to have in the official version of the plugin!

— Reply to this email directly, view it on GitHubhttps://github.com/QAMichaelPeng/obsidian-graphviz/pull/16#issuecomment-1358917128, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA6OP2YHJDMDGF3W7FEW7X3WOFKMNANCNFSM6AAAAAASAJ3CV4. You are receiving this because you were mentioned.Message ID: @.***>