I can copy paste from draw.io fine, and is my current method. I can even write a script that grabs the data from a specific folder if it notices a change and imports it into my node.js tiddlywiki automatically. What I currently can't do is write a macro to turn that imported xml file into the code required to embed it. Maybe I'll have time to tackle that next year...
On Thursday, July 12, 2018 at 9:33:50 AM UTC-4, Jeremy Ruston wrote: > > Hi Malloc > > In theory, I'd love to see a specifically draw.io plugin where I could > import a draw.io XML file and have tiddlywiki reach out to draw.io to > render it when the tiddler is opened. This way the xml file could be saved > in the wiki. > > > Have you tried the file -> embed -> iframe option? It seems to work fine > in TW. > > The embed code actually embeds the diagram source in the code; it's not > stored on draw.io's servers. With a bit of work, one could therefore > write a TW macro that takes the text of a diagram from a tiddler and > encodes it suitably to construct the iframe URL. > > Best wishes > > Jeremy > > [image: image1.png] > > > On Friday, June 29, 2018 at 8:52:55 AM UTC-4, Evgeniy Degtyar wrote: >> >> Is that what you want? >> >> http://tobibeer.github.io/tw5-plugins/#plantuml >> >> пятница, 29 июня 2018 г., 15:02:10 UTC+3 пользователь Martian написал: >>> >>> I wish there were plugins for such diagram js libs as well >>> https://support.typora.io/Draw-Diagrams-With-Markdown/ >>> >>> On Friday, 29 June 2018 12:31:31 UTC+3, Evgeniy Degtyar wrote: >>>> >>>> Now I'm using iframe embedding for placing diagrams in tiddlers. >>>> I would be cool to edit diagrams right in tiddler and save changes >>>> without internet and copy/pasting. >>>> I'm trying to figure out is there any possibilities to create such >>>> plugin. But decided to ask first. >>>> >>> -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > Visit this group at https://groups.google.com/group/tiddlywiki. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/d4ab115c-aed1-4db8-8eb6-b66e26f32613%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/d4ab115c-aed1-4db8-8eb6-b66e26f32613%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/be94b2ca-2706-4ee3-a558-4b035fc98943%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

