Just to let you know that I’ve pushed an update to the prerelease for v5.1.23 that allows the <$link> widget to be used directly within SVG elements.
https://github.com/Jermolene/TiddlyWiki5/commit/e71a27ac2d71f2e48f9e4e9156b59bb3ecc2a105 Best wishes Jeremy. > On 20 Apr 2020, at 15:21, A Gloom <[email protected]> wrote: > > Button group with graphic frame example-- providing a tidd file won't > suffice-- all 8 buttons are custom buttons, so a tidd would display no buttons > > its designed as a standalone tiddler that can be transcluded into any svg > (that isn't too small to display it clearly) to manipulate its viewBox for > zoom and pan but vould be adapt for many different manipulations of the svg > and its elements. > > <buttoncompass.jpg> > > > > <svg xmlns="http://www.w3.org/2000/svg" viewBox="38 -2 122 82 " width="240"> > <g style="fill:cornflowerblue;stroke-width:1;stroke:white;"> > <polygon points="80,0 100,30 60,30"/> > <polygon points="80,80 100,50 60,50"/> > <polygon points="40,40 70,20 70,60"/> > <polygon points="120,40 90,20 90,60"/></g> > <circle cx="80" cy="40" r="22" style="fill:blue;stroke:white;"/> > <foreignObject id="upcnt" x="71" y="5" width="18" height="18"> > <body xmlns="http://www.w3.org/1999/xhtml"> > <div xmlns="http://www.w3.org/1999/xhtml" style="">{{svg compup button}}</div> > </body></foreignObject> > <foreignObject id="downcont" x="71" y="55" width="18" height="18"> > <body xmlns="http://www.w3.org/1999/xhtml"> > <div xmlns="http://www.w3.org/1999/xhtml">{{svg compdwn button}}</div> > </body></foreignObject> > <foreignObject id="leftcont" x="46" y="30" width="18" height="18"> > <body xmlns="http://www.w3.org/1999/xhtml"> > <div xmlns="http://www.w3.org/1999/xhtml">{{svg complft button}}</div> > </body></foreignObject> > <foreignObject id="rightcont" x="96" y="30" width="18" height="18"> > <body xmlns="http://www.w3.org/1999/xhtml"> > <div xmlns="http://www.w3.org/1999/xhtml">{{svg comprght button}}</div> > </body></foreignObject> > <foreignObject id="zincont" x="62.5" y="22" width="18" height="18"> > <body xmlns="http://www.w3.org/1999/xhtml"> > <div xmlns="http://www.w3.org/1999/xhtml">{{svg compzin button}}</div> > </body></foreignObject> > <foreignObject id="relcont" x="80" y="22" width="18" height="18"> > <body xmlns="http://www.w3.org/1999/xhtml"> > <div xmlns="http://www.w3.org/1999/xhtml">{{svg comprel button}}</div> > </body></foreignObject> > <foreignObject id="zoutcont" x="80" y="39" width="18" height="18"> > <body xmlns="http://www.w3.org/1999/xhtml"> > <div xmlns="http://www.w3.org/1999/xhtml">{{svg compzout button}}</div> > </body></foreignObject> > <foreignObject id="zoutcent" x="62.5" y="39" width="18" height="18"> > <body xmlns="http://www.w3.org/1999/xhtml"> > <div xmlns="http://www.w3.org/1999/xhtml">{{svg compcent button}}</div> > </body></foreignObject> > </svg> > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/89b1d2c5-1ddb-4f03-9d23-859f9de31c7e%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/89b1d2c5-1ddb-4f03-9d23-859f9de31c7e%40googlegroups.com?utm_medium=email&utm_source=footer>. > <buttoncompass.jpg> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/BABEEED5-ED29-4A71-8760-9D09CFD202C6%40gmail.com.

