[TW5] Vecmap plugin - easy tiddler maps

459 views
Skip to first unread message

ih...@newsfromgod.com

unread,
Oct 30, 2015, 5:28:50 PM10/30/15
to tiddl...@googlegroups.com


The vecmap plugin shows tiddlers with an SVG/HTML5 diagram like the
following:

It uses the tags to figure out the tree structure. It can optionally use
links also. If a tiddler has a summary field then it is used as a
tooltip. If a tiddler has a caption field then it is used as title for
the node. There are attributes to specify each. There are other
options/features, they are described in the documentation.

For information/installation
see: https://ihm4u.github.io/vecmap/#vecmap%20-%20Easy%20tiddler%20maps%20for%20TW5

You can report issues, etc at:  https://github.com/ihm4u/vecmap/issues

but I can't promise quick responses.

Hope it is useful for you! (it is still beta!)

ih...@newsfromgod.com

unread,
Oct 30, 2015, 5:33:01 PM10/30/15
to tiddl...@googlegroups.com

Oops trouble attaching image, here it is:


vecmap.png

Matabele

unread,
Oct 31, 2015, 4:10:12 AM10/31/15
to TiddlyWiki, ih...@newsfromgod.com
Hi

Tried your plugin with v5.1.10 beta -- generates a javascript error when called.

regards

Ton Gerner

unread,
Oct 31, 2015, 8:12:54 AM10/31/15
to tiddl...@googlegroups.com, ih...@newsfromgod.com
Hi,

Nice plugin.

But, when the tag does not exist you get a javascript error (TW 5.1.9).

Cheers,

Ton


Erwan

unread,
Oct 31, 2015, 8:09:50 PM10/31/15
to tiddl...@googlegroups.com

Hi ihm4u,

Great plugin! Is it ok if I add your wiki to the CommunitySearch wiki? (see here for details)

Regards
Erwan



On 30/10/15 21:32, ih...@newsfromgod.com wrote:

Oops trouble attaching image, here it is:


--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/20151030173250.Horde.MPWifsNYxcS1mfksaKnOgR2%40www.newsfromgod.com.
For more options, visit https://groups.google.com/d/optout.

ih...@newsfromgod.com

unread,
Oct 31, 2015, 9:41:08 PM10/31/15
to tiddl...@googlegroups.com
Feel free to add it.


Quoting Erwan <erwan...@gmail.com>:

> Hi ihm4u,
>
> Great plugin! Is it ok if I add your wiki to the CommunitySearch
> wiki <http://erwanm.github.io/tw-community-search/>? (see here
> <http://erwanm.github.io/tw-community-search/#AuthorDocumentation>
> for details)
>
> Regards
> Erwan
>
>
> On 30/10/15 21:32, ih...@newsfromgod.com wrote:
>>
>> Oops trouble attaching image, here it is:
>>
>>
>> --
>> 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 tiddlywiki+...@googlegroups.com
>> <mailto:tiddlywiki+...@googlegroups.com>.
>> To post to this group, send email to tiddl...@googlegroups.com
>> <mailto:tiddl...@googlegroups.com>.
>> <https://groups.google.com/d/msgid/tiddlywiki/20151030173250.Horde.MPWifsNYxcS1mfksaKnOgR2%40www.newsfromgod.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 tiddlywiki+...@googlegroups.com.
> To post to this group, send email to tiddl...@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/563566C5.90103%40gmail.com.

ih...@newsfromgod.com

unread,
Oct 31, 2015, 9:42:41 PM10/31/15
to Matabele, TiddlyWiki
Could you try version 0.8.9 and let me know if it works?

Thanks
Quoting Matabele <matabe...@gmail.com>:

> Hi
>
> Tried your plugin with v5.1.10 beta -- generates a javascript error when
> called.
>
> regards
>
> On Friday, 30 October 2015 23:28:50 UTC+2, ih...@newsfromgod.com wrote:
>>
>>
>> The vecmap plugin shows tiddlers with an SVG/HTML5 diagram like the
>> following:
>>
>> It uses the tags to figure out the tree structure. It can optionally use
>> links also. If a tiddler has a *summary* field then it is used as a
>> tooltip. If a tiddler has a *caption* field then it is used as title for

ih...@newsfromgod.com

unread,
Oct 31, 2015, 9:43:44 PM10/31/15
to Ton Gerner, TiddlyWiki
Hi Ton,

Fixed the problem when the tag does not exist, please try version
0.8.9; let me know if it works.

Thanks!
Quoting Ton Gerner <ton.g...@gmail.com>:

> Hi,
>
> Nice plugin.
>
> But, when the tag does not exist you get a javascript error.
>
> Cheers,
>
> Ton
>
> On Saturday, October 31, 2015 at 9:10:12 AM UTC+1, Matabele wrote:
>>
>> Hi
>>
>> Tried your plugin with v5.1.10 beta -- generates a javascript error when
>> called.
>>
>> regards
>>
>> On Friday, 30 October 2015 23:28:50 UTC+2, ih...@newsfromgod.com wrote:
>>>
>>>
>>> The vecmap plugin shows tiddlers with an SVG/HTML5 diagram like the
>>> following:
>>>
>>> It uses the tags to figure out the tree structure. It can optionally use
>>> links also. If a tiddler has a *summary* field then it is used as a
>>> tooltip. If a tiddler has a *caption* field then it is used as title for

Matabele

unread,
Oct 31, 2015, 10:15:13 PM10/31/15
to TiddlyWiki, matabe...@gmail.com, ih...@newsfromgod.com
Hi

OK -- that seems to fix the problem. Great plugin -- would it be possible to add slider code such that each node could be collapsed/expanded?

regards

Matabele

unread,
Oct 31, 2015, 10:21:21 PM10/31/15
to TiddlyWiki, ton.g...@gmail.com, ih...@newsfromgod.com
Hi

Seems that the plugin runs out of arrows for a large map -- for example try <$vecmap start="Reference" /> on tiddlywiki.com

regards

ih...@newsfromgod.com

unread,
Oct 31, 2015, 10:58:31 PM10/31/15
to tiddl...@googlegroups.com, ton.g...@gmail.com
Hi Matabele/Ton,

I think the missing arrows is caused by "circular tags", that is,
tags that point a child node back to a parent. Right now it only
supports tree-like structures. Circular tags is something I was
thinking about also.

About the node collapse/expand feature I want to add that too, but
I'll put it on the back burner until I solve the circular tags feature
(it's not such an easy thing, I'll come up with some solution).

I have to leave town and won't be able to work on it for two weeks.
But I look forward to your feedback when I have some solution.
Meanwhile, let me know if you find any other bugs.

Thanks!!


Ton Gerner

unread,
Nov 1, 2015, 4:50:55 AM11/1/15
to TiddlyWiki, ton.g...@gmail.com, ih...@newsfromgod.com
Hi,

OK now: gives 'undefined' for non-existent tag.

Thanks,

Ton

Erwan

unread,
Nov 1, 2015, 9:00:32 AM11/1/15
to tiddl...@googlegroups.com

thank you!

ih...@newsfromgod.com

unread,
Nov 1, 2015, 10:51:16 AM11/1/15
to tiddl...@googlegroups.com
Good, I am glad it's working. Let me know if you find other bugs.



Matabele

unread,
Nov 2, 2015, 12:01:21 AM11/2/15
to TiddlyWiki, ton.g...@gmail.com, ih...@newsfromgod.com
Hi

Not a slider, but this technique limits the output of  $vecmap from a dropdown. Try this example on tiddlywiki.com (with $vecmap plugin installed):

Start: <$edit-text field="start" tag="input" default="" focusPopup="$:/state/demo" class="tc-popup-handle"/>
<$reveal state="$:/state/demo" type="nomatch" text="" default="">
<div class="tc-block-dropdown">
<$linkcatcher to="!!start">
<div class="tc-dropdown-item">
<$list filter="[list[Reference]sort[title]]">

</$list>
</
div>
</$linkcatcher>
</
div>
</$reveal>

<$set name="start" value={{!!start}}>
<$vecmap start=<<start>> /
>
</$set>

regards

Matabele

unread,
Nov 2, 2015, 12:13:31 AM11/2/15
to TiddlyWiki, ton.g...@gmail.com, ih...@newsfromgod.com
Hi

A more complex dropdown may also be used -- try something like this (not perfect, but illustrates the technique):

Start: <$edit-text field="start" tag="input" default="" focusPopup="$:/state/demo" class="tc-popup-handle"/>
<$reveal state="$:/state/demo" type="nomatch" text="" default="">
<div class="tc-block-dropdown">
<$linkcatcher to="!!start">
<div class="tc-table-of-contents">
<<toc-selective-expandable 'Reference'>>

</div>
</
$linkcatcher>
</div>
</
$reveal>

<$set name="start" value={{!!start}}>
<$vecmap start=<<start>> />
</
$set>

regards


On Sunday, 1 November 2015 04:58:31 UTC+2, ih...@newsfromgod.com wrote:
Hi Matabele/Ton,

Sylvain Naudin

unread,
Nov 2, 2015, 11:07:00 AM11/2/15
to TiddlyWiki, ih...@newsfromgod.com
Hello !
Nice plugin :)
 
if needed a vertical layout will be added later

If think I'll prefer vertical one, with large screen :) It will more usefull for me to show information like this.

Thank you !
Sylvain
 

David Gifford

unread,
Nov 2, 2015, 2:19:35 PM11/2/15
to TiddlyWiki, ih...@newsfromgod.com
Oooh very nice!!! I will definitely be playing with this soon!

Dave

David Gifford

unread,
Nov 2, 2015, 2:20:56 PM11/2/15
to TiddlyWiki, ih...@newsfromgod.com
Also, hadn't seen the Bible program. Looks interesting!


Dave

On Friday, October 30, 2015 at 3:28:50 PM UTC-6, ih...@newsfromgod.com wrote:

David Gifford

unread,
Nov 2, 2015, 2:26:44 PM11/2/15
to TiddlyWiki, ih...@newsfromgod.com
FYI, for the "Mexican" Bible you should really indicate what version it is. The most common is the Reina-Valera 1960 version, but  I don't know what version you used. Also, it is more proper to call it a Spanish Bible than a Mexican Bible, as many countries use Spanish to read the Bible.

Blessings


Dave

On Friday, October 30, 2015 at 3:28:50 PM UTC-6, ih...@newsfromgod.com wrote:

Alex Hough

unread,
Nov 4, 2015, 4:29:20 AM11/4/15
to TiddlyWiki

Little snippets of charm like this are missing in other groups I belong to... only in TiddlyLand

FYI, for the "Mexican" Bible you should really indicate what version it is. The most common is the Reina-Valera 1960 version, but  I don't know what version you used. Also, it is more proper to call it a Spanish Bible than a Mexican Bible, as many countries use Spanish to read the Bible.



Alex

 
Blessings

Dave

On Friday, October 30, 2015 at 3:28:50 PM UTC-6, ih...@newsfromgod.com wrote:


The vecmap plugin shows tiddlers with an SVG/HTML5 diagram like the
following:

It uses the tags to figure out the tree structure. It can optionally use
links also. If a tiddler has a summary field then it is used as a
tooltip. If a tiddler has a caption field then it is used as title for
the node. There are attributes to specify each. There are other
options/features, they are described in the documentation.

For information/installation
see: https://ihm4u.github.io/vecmap/#vecmap%20-%20Easy%20tiddler%20maps%20for%20TW5

You can report issues, etc at:  https://github.com/ihm4u/vecmap/issues

but I can't promise quick responses.

Hope it is useful for you! (it is still beta!)

--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.

ih...@newsfromgod.com

unread,
Nov 8, 2015, 12:26:52 AM11/8/15
to tiddl...@googlegroups.com, ton.g...@gmail.com
Hi Matabele,

This is a great idea, thanks for posting it! I am working on the
problem with the missing arrows and the tags to previous nodes (which
is what causes the missing arrows). I will post a fix as soon as
possible, it is a tough problem having to do with how to get a tree of
tiddlers even if they are not strictly in a tree structure.

I think I found a solution, to build a breadth-first tree for the
nodes, ignoring any previously used nodes. And then draw the arrows
back to the original nodes. I still have to implement it, we'll see if
it works.

IHM
> --
> 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 tiddlywiki+...@googlegroups.com.
> To post to this group, send email to tiddl...@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/ad9265c3-46a2-43c2-8e2c-11df98881adf%40googlegroups.com.

ih...@newsfromgod.com

unread,
Nov 8, 2015, 12:35:47 AM11/8/15
to tiddl...@googlegroups.com
Hi David,

Yes, I am working on a bible plugin also. But it is not ready for
public release yet. The main restriction is that I don't want to
include the whole bible for each of the translations. It becomes very
slow and consumes too much space.

The idea with the plugin is to make it easy to access the source
online and then to copy paste the verses which are used in the wiki.
*Those* verses will then be always available in the wiki.

I was thinking of generating a table tiddler with all the verses to
copy/paste and put a direct link to the website with the source so
that the user can select and drag/drop the verse into its place in the
table. Something, like a table with rows like this:

<button to add verse> <verse number> <link to source> <editable text
where verse can be pasted or dragged into>

What do you think??

IHM

Quoting David Gifford <dgif...@crcna.org>:

> Also, hadn't seen the Bible program. Looks interesting!
>
> Dave
>
> On Friday, October 30, 2015 at 3:28:50 PM UTC-6, ih...@newsfromgod.com
> wrote:
>>
>>
>> The vecmap plugin shows tiddlers with an SVG/HTML5 diagram like the
>> following:
>>
>> It uses the tags to figure out the tree structure. It can optionally use
>> links also. If a tiddler has a *summary* field then it is used as a
>> tooltip. If a tiddler has a *caption* field then it is used as title for
>> the node. There are attributes to specify each. There are other
>> options/features, they are described in the documentation.
>>
>> For information/installation
>> see:
>> https://ihm4u.github.io/vecmap/#vecmap%20-%20Easy%20tiddler%20maps%20for%20TW5
>>
>> You can report issues, etc at: https://github.com/ihm4u/vecmap/issues
>>
>> but I can't promise quick responses.
>>
>> Hope it is useful for you! (it is still beta!)
>>
>
> --
> 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 tiddlywiki+...@googlegroups.com.
> To post to this group, send email to tiddl...@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/18947853-0793-48c4-89ee-12b9802afeb6%40googlegroups.com.

ih...@newsfromgod.com

unread,
Nov 8, 2015, 12:36:59 AM11/8/15
to tiddl...@googlegroups.com
Yes, I agree, I'll find out the version.

Thanks

Quoting David Gifford <dgif...@crcna.org>:

> FYI, for the "Mexican" Bible you should really indicate what version it is.
> The most common is the Reina-Valera 1960 version, but I don't know what
> version you used. Also, it is more proper to call it a Spanish Bible than a
> Mexican Bible, as many countries use Spanish to read the Bible.
>
> Blessings
>
> Dave
>
> On Friday, October 30, 2015 at 3:28:50 PM UTC-6, ih...@newsfromgod.com
> wrote:
>>
>>
>> The vecmap plugin shows tiddlers with an SVG/HTML5 diagram like the
>> following:
>>
>> It uses the tags to figure out the tree structure. It can optionally use
>> links also. If a tiddler has a *summary* field then it is used as a
>> tooltip. If a tiddler has a *caption* field then it is used as title for
>> the node. There are attributes to specify each. There are other
>> options/features, they are described in the documentation.
>>
>> For information/installation
>> see:
>> https://ihm4u.github.io/vecmap/#vecmap%20-%20Easy%20tiddler%20maps%20for%20TW5
>>
>> You can report issues, etc at: https://github.com/ihm4u/vecmap/issues
>>
>> but I can't promise quick responses.
>>
>> Hope it is useful for you! (it is still beta!)
>>
>
> --
> 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 tiddlywiki+...@googlegroups.com.
> To post to this group, send email to tiddl...@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/a0fa7d0c-8368-459b-9aa5-ab098d157b41%40googlegroups.com.

ih...@newsfromgod.com

unread,
Nov 8, 2015, 1:32:05 AM11/8/15
to tiddl...@googlegroups.com
Hi Sylvain,

I am working on the missing arrows for large trees with back tags
(like the one pointed on by Matabele), then I need to decide whether
collapse/expand or vertical layout will be the next task. What do you
guys think is more important collapse/expand or vertical layout? This
is just to plan my time.

IHM
> --
> 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 tiddlywiki+...@googlegroups.com.
> To post to this group, send email to tiddl...@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/e71409b7-362f-430e-a27f-dd403539fe98%40googlegroups.com.

Matabele

unread,
Nov 8, 2015, 2:44:06 AM11/8/15
to TiddlyWiki, ih...@newsfromgod.com
Hi

My vote: collapse/expand.

regards

Sylvain Naudin

unread,
Nov 9, 2015, 3:45:41 AM11/9/15
to TiddlyWiki, ih...@newsfromgod.com
Hello,

I can wait :) So you can start with collapse/expand :)


Regards,
Sylvain
Reply all
Reply to author
Forward
0 new messages