[tw5] Re: Use of external image in macro

2020-06-07 Thread Silverfox
In this case it' better to use the Macrocall widget

if your Macro is like
\define myMacro(myPath)
xxx
\end

Then you call it this way :

<$macrocall $name="myMacro" myPath= {{titel of image 
tiddler!!_canonical_uri}}/>

Nicolas


On Sunday, June 7, 2020 at 8:25:31 AM UTC+2, Guido B wrote:
>
> Hi
>
> I started using TW a couple of weeks ago and I love it. However, I still 
> struggle with the syntax. Here's my problem: 
>
>- I make external images available through _canonical_uri. 
>- I would like to use these images not only by transcluding them, but 
>also by referring to them in a macro. 
>- Example of such a macro: >
>- The *path of the image* is the same as the one used when filling in 
>the _canonical_uri
>- I know that I can get the text of the _canonical_uri field by using 
>{{titel of image tiddler!!_canonical_uri}}
>- What I don't know is how to use this information in the above macro. 
>What is the syntax to use the text information from {{titel of image 
>tiddler!!_canonical_uri}} in macros requiring text input?
>
> Thanks in advance for any hint. 
>
> Guido
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9bdfa851-cc94-4783-b576-c7d07858ff2bo%40googlegroups.com.


Re: [tw5] Re: Update of Archipel : TiddlyWiki toc based on D3JS

2019-06-11 Thread Silverfox
Thank you so much for your comments, 

Some elements of context, I really would like to update Archipel, but I'm 
currently lacking time.
Few months ago, when I lost my job I decided to learn coding Javascript to 
make this development on Tiddlywiki. I learned  a lot from almost zero, but 
I'm still very inefficient when coding (It takes me much much more time 
than a pro...)

Now I'm working on an entrepreneur project for green tech. I'm still using 
widely TW for my project including my Archipel plugin, but I really don't 
have enough time to upgrade it so far. Maybe in the future...
I would be very happy if somebody takes the lead on this project, and I'm 
ready to support.

Nevertheless, I've got a good news that may help you, see here 
: 
https://groups.google.com/forum/#!searchin/tiddlywikidev/roland$20d3trees%7Csort:date/tiddlywikidev/KEImPODsLHA/DuIbYaUVAQAJ

Roland has worked on a similar project in parallel, he looks to be much 
more professional than myself.  There are few differences in the concept as 
it does not include any "knowledge maturity" feature, but it looks some of 
your desiderata seem to be covered by this version.

Nicolas


On Tuesday, June 11, 2019 at 9:50:51 AM UTC+2, K500 L501 wrote:
>
> I strongly subscribe to this!
>
> On Mon, Jun 10, 2019 at 11:38 PM Jan > 
> wrote:
>
>> Dear Silverfox,
>> I just rediscovered your great Archipel-Knowledgemap on
>> http://archipel.tiddlyspot.com
>> I would definitively like to use it but I still have some desiderata:
>> It would be great...
>> - if the last step opend the tiddler or triggered a modal.
>> - it the labels one level below were also shown and clickable
>> - if there was a Fullscreen view
>>
>> But again I have to say: Great Work!
>>
>> Cheers Jan
>>
>>
>>
>>
>>
>> Am 03.11.2018 um 21:17 schrieb AlexHough:
>>
>> Silverfox, 
>>
>> I really like it. 
>>
>> What I would like is a feature TiddlyMap has: double click on the map and 
>> open the tiddler. 
>>
>> I happen to know Jeremy is a big fan of the zoomable interface. I wonder 
>> .. how might this development fit into wider ambitions for ZUIs in TW
>>
>> best wishes
>> Alex
>>
>> On Friday, 2 November 2018 13:58:26 UTC, Silverfox wrote: 
>>>
>>> Tony,
>>>
>>> Thanks for your comments, 
>>> I imagine to be able to use different types of criteria to sort and 
>>> graph the tiddlers.
>>>
>>> I keep your comment in mind, even if my time to work on it is limited.
>>>
>>> Regards
>>> Silverfox
>>>
>>>
>>> On Thursday, November 1, 2018 at 11:54:44 PM UTC+1, TonyM wrote: 
>>>>
>>>> Silverfox, 
>>>>
>>>> This looks like a very powerful way to represent information. 
>>>>
>>>> Do you expect to have more labels/names appearing so navigation is not 
>>>> only visual?
>>>>
>>>> I would be interested if I can apply such a tool on top of my existing 
>>>> TiddlyWikis with various kinds of data, and would perhaps need to use 
>>>> field 
>>>> references rather than tag hierarchies. Please keep this in mind as you 
>>>> work on this.
>>>>
>>>> Thanks for sharing this could really help visualising information 
>>>> knowledge.
>>>>
>>>> Regards
>>>> Tony
>>>>
>>>> On Friday, 2 November 2018 01:54:36 UTC+11, Silverfox wrote: 
>>>>>
>>>>> A quick mail to share my last update of "Archipel" which uses D3JS to 
>>>>> visualize the table of content of TiddlyWiki using different knowledge 
>>>>> maturity levels 
>>>>>   
>>>>> http://archipel.tiddlyspot.com
>>>>>
>>>>> Do not hesitate to comment 
>>>>>
>>>>> Silverfox
>>>>>
>>>> -- 
>> 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 tiddl...@googlegroups.com .
>> To post to this group, send email to tiddl...@googlegroups.com 
>> .
>> 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/b4e5966c-e462-4884-8e5a-f465b513%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/b4e5966c-e462-4884-8e5a-f465b513%40googlegroups.com?utm_mediu

[tw5] Re: Update of Archipel : TiddlyWiki toc based on D3JS

2018-11-02 Thread Silverfox
Tony,

Thanks for your comments,
I imagine to be able to use different types of criteria to sort and graph 
the tiddlers.

I keep your comment in mind, even if my time to work on it is limited.

Regards
Silverfox


On Thursday, November 1, 2018 at 11:54:44 PM UTC+1, TonyM wrote:
>
> Silverfox,
>
> This looks like a very powerful way to represent information. 
>
> Do you expect to have more labels/names appearing so navigation is not 
> only visual?
>
> I would be interested if I can apply such a tool on top of my existing 
> TiddlyWikis with various kinds of data, and would perhaps need to use field 
> references rather than tag hierarchies. Please keep this in mind as you 
> work on this.
>
> Thanks for sharing this could really help visualising information 
> knowledge.
>
> Regards
> Tony
>
> On Friday, 2 November 2018 01:54:36 UTC+11, Silverfox wrote:
>>
>> A quick mail to share my last update of "Archipel" which uses D3JS to 
>> visualize the table of content of TiddlyWiki using different knowledge 
>> maturity levels
>>  
>> http://archipel.tiddlyspot.com
>>
>> Do not hesitate to comment 
>>
>> Silverfox
>>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/319cbe0a-72ae-4b48-baf9-da7b703eb1b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Update of Archipel : TiddlyWiki toc based on D3JS

2018-11-01 Thread Silverfox
A quick mail to share my last update of "Archipel" which uses D3JS to 
visualize the table of content of TiddlyWiki using different knowledge 
maturity levels
 
http://archipel.tiddlyspot.com

Do not hesitate to comment 

Silverfox

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/328dd50f-fd8a-477d-8d35-bf6c00de21fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TiddlyWiki On A Stick (particularly for iOS)

2018-10-10 Thread Silverfox
I use TiddlyWiki in iOS through Quine (iOS app), and the file is, in my 
case, stored on iCloud, but is should be possible to do it on a USB key as 
well.
It works well also to sync with a Mac.


On Wednesday, October 10, 2018 at 2:03:59 AM UTC+2, David Masterson wrote:
>
> Still looking for information on whether TiddlyWiki can be used on a USB 
> Stick under iOS...
>
> My use case would be to setup a secure wiki for my family records on a 
> (somewhat) encrypted Wiki that is stored on the USB Stick.  This Wiki would 
> need to be friendly and easy to use for my wife and daughter, so I would 
> expect that it would not be purely read-only.  They might need to take 
> (controlled) notes on the information and create tasks based upon the 
> information that I would setup ways for them to do on the stick.  The stick 
> provides the security that nothing gets out on the Internet unless they 
> want it to.  They might access the stick via their (iOS) telephone or the 
> home Windows computer.  Years ago, classic Tiddlywiki was a *GREAT* option 
> for this as the add-ons provided a lot of nice interfaces for building the 
> wiki and the wiki could save any information needed to the stick.
>
> Is it still an option with restrictions on saving?
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/86cb3162-1c4a-45a4-b735-c1a6eef0d94e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to refresh a JavaScript widget based on a parsed tiddler ?

2018-06-06 Thread Silverfox
It works much better now, thank you so much...

I can update my json automatically if a tiddler of the table of content is 
modified or suppressed, but it still needs a manual refresh in case I add a 
new tiddler to the toc.

Do you have any idea of another instruction that may detect an addition ?



-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/abd41e5e-afc0-4a5a-b6cd-a69382e6eeb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to refresh a JavaScript widget based on a parsed tiddler ?

2018-06-05 Thread Silverfox
Thank you... but I cannot make it work so far...

It appears that the 

if($tw.utils.hop(self.allTiddlers[i],changedTiddlers))

generates the following error: 

Uncaught TypeError: Cannot convert object to primitive value

I don't understand how to solve it...




-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/24ffdb1b-4613-48a9-b2d0-07a0d9607841%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] How to refresh a JavaScript widget based on a parsed tiddler ?

2018-06-02 Thread Silverfox
Hello, 

I'm still working on developing a plugin using D3.js to vizualise and 
navigate into TW table of content and I'm currently working on a JavaScript 
Widget to automatically generate a json that describes this table of 
content.

As I want the visualisation to be automaticcally updated in case of change 
(addition, suppression, rename...) in  the table of content, I use a 
 "detector" tiddler that contains <>.

and then I rely on the refresh part of the widget with the following syntax

```
myWidget.prototype.refresh = function(changedTiddlers) {
var changedAttributes = this.computeAttributes();
if(changedAttributes.data || changedTiddlers[this.myDataTiddler]) {
this.refreshSelf();
return true;
} 
return false;
};

```

"data" of course points to "detector"

But actually the detector does not work, as its content (<>) 
remains the same, just the parsing of this instruction is different...

How could I detect the change in parsing rather than the tiddler text ?

Hope I'm clear enough, thank you for your help

Silverfox

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/ba0d8057-7246-47db-97bb-2617a38a979c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to click on a D3 (svg) object to open a tiddler ?

2018-05-13 Thread Silverfox
Yesss !

I'm so happy it works
Thank you so much for giving the solution and also for all the details that 
contribute to leverage my coding skill.

I can go on improving my plugin now... 

Nicolas

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/7b64875e-800f-48ce-a912-3f1751b99269%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to click on a D3 (svg) object to open a tiddler ?

2018-05-13 Thread Silverfox
Wahoo... thank you but honestly I'm a bit lost...

On Sunday, May 13, 2018 at 2:01:44 PM UTC+2, Jed Carty wrote:
>
> Now that I am looking at what I did with SnapSVG it isn't as simple as I 
> had remembered.
>
> The simplest way would be to make a widget based on the button widget, for 
> the snapsvg plugin I made I created a new widget for it that was more 
> general.
>
> Unfortunately neither of those is quick and both probably require some 
> in-depth knowledge of tiddlywiki. If you want to see an example here is the 
> widget I made for SnapSVG:
>
>
> https://github.com/inmysocks/TW5-SnapSVG/blob/master/Javascript/SnapWidget.js
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/796d0a73-4d48-483e-ae1e-ae296e50b166%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to click on a D3 (svg) object to open a tiddler ?

2018-05-13 Thread Silverfox
My skills are definitely too limited...

Here is what I've done : 

D3 double click entent activates a "cliclic" function 

in this function I wrote : 

> function cliclic(targetTiddler) {

//   alert("node " + targetTiddler + " was double clicked");

  console.log("targetTiddler",targetTiddler);

console.log("event",event.type);  

var d3Click = this.invokeActions(targetTiddler,event.type); 
>   

console.log("d3Click",d3Click);

}

 


But this returns a script error "Uncaught TypeError: Cannot read property 
'invokeActions' of undefined"

I really do not catch how to use it all...

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/72dc81ef-1955-4292-8178-b8f39ce7005b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to click on a D3 (svg) object to open a tiddler ?

2018-05-12 Thread Silverfox
I'm still looking at a solution to make it work... but I'm stuck for many 
days with it

There are actually 2 different actions systems I don't know how to connect.

D3 has it own event detector with instruction like this one: 

> .on("dblclick",function(d){ cliclic(d.data.name); });


and TiddlyWiki also with instruction like this

> this.dispatchEvent({
> type: "tm-navigate",
> navigateTo: targetTiddler });


In this last case it actually needs to be triggered by a button widget or 
something similar.
I was thinking about a way to activate a virtual click of the button to 
open the corresponding tiddler, but I have no idea how to proceed...
Maybe there some other better way to proceed...

In this example http://archipel.tiddlyspot.com double clicking on any 
bubble opens an alert with the name of the clicked bubble, but I would like 
to open a tiddler instead

Any help will be highly appreciated

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/21c11e60-9c3f-44b7-b483-ed757417f109%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Show tags as full path

2018-05-07 Thread Silverfox
You can use this: 


<>


On Monday, May 7, 2018 at 3:42:11 PM UTC+2, Brady77 wrote:
>
> Say I have a tiddler "Galaxian" tagged with "Arcade". Then the "Arcade" 
> tag is tagged with "Game". I wish I could see all the parent tags (up to 
> the root) with every tag used. Thanks.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/7ca0acb4-a827-42de-a84d-af9188c2e4e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] D3.js for knowledge mapping: how to automatize any tiddler update on the graph ?

2018-04-19 Thread Silverfox
@Jan

Your select trick has been included now, thank you (see 
update http://archipel.tiddlyspot.com)

But I'm still looking for some help to update automatically the graph 
(without having to press the update button) when add, remove or modify a 
tiddler
the current process is described in the archipel page

Nicolas


On Saturday, April 14, 2018 at 3:05:44 PM UTC+2, Jan wrote:
>
> Hi Silverfox, I have seen you have not included the tiny select trick to 
> archpelago yet.
> It was of course meant to be integrated, if the questionmark is about 
> whether this is allowed. 
> Jan
>
>
>
> Am 13.04.2018 um 07:07 schrieb Silverfox:
>
> @Jan
>
> Thank you it's great, I will integrate it? No  click after changing the 
> selector is great 
> but it does not solves what I wanted (sorry if I was not clear)
>
> All,
>
> If a add or remove a tiddler, or if I update the colored status of one 
> tiddler I would like the graph to be immediately updated without having to 
> click on the button...
> in other words how to automatize the generation of csv file from a 
> Wikitext macro ?
>
>
> -- 
> 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 https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/c2d6e356-e1a1-4b15-861a-0da8598c63d1%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/c2d6e356-e1a1-4b15-861a-0da8598c63d1%40googlegroups.com?utm_medium=email_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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/f723f776-f5f0-450b-b39e-9715e92eddbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] D3.js for knowledge mapping: how to automatize any tiddler update on the graph ?

2018-04-12 Thread Silverfox
@Jan

Thank you it's great, I will integrate it? No  click after changing the 
selector is great
but it does not solves what I wanted (sorry if I was not clear)

All,

If a add or remove a tiddler, or if I update the colored status of one 
tiddler I would like the graph to be immediately updated without having to 
click on the button...
in other words how to automatize the generation of csv file from a Wikitext 
macro ?


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/c2d6e356-e1a1-4b15-861a-0da8598c63d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] D3.js for knowledge mapping: how to automatize any tiddler update on the graph ?

2018-04-12 Thread Silverfox
Hello, 

You'll find here http://archipel.tiddlyspot.com, a new proof of concept of 
D3 plugin(V5) for TiddlyWiki (there are still some bugs and a lot to do 
before having a reliable plug-in)

As you can see, my target is to display a dynamic visualization of the TW 
table of content, and to associate a color code to each tiddler depending 
on the knowledge maturity (color of a tag)

The mechanism is the following:
* a TW macro generates a a csv interpreted text in a tiddler (kTree macro)
* another macro, activated by a button, wikifies it to have pure csv text 
tiddler (KMapRoot.csv)
* a javaScript macro uses D3 plugin and the previous csv to generate the 
graph

My question is : 

Is there a way to *avoid clicking the button* ? I wish I could have an 
automatic update of the graph as soon as any tiddler is updated...

Thank you for your help, 

Do not hesitate to share your comment on this POC in general

Nicolas 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/f84b0ea1-06d6-4f77-9e37-f778e9400a16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Preparing for v5.1.16

2018-04-09 Thread Silverfox
Sorry I dont have enough time and all the required skills to update it in 
due time for v5.1.16 release, but I promise I'll go on working on it for 
next one.
(I just started learning JavaScript, D3 and TW in January... my coding 
efficiency is still limited)

On Monday, April 9, 2018 at 11:30:52 AM UTC+2, BurningTreeC wrote:
>
> @Jeremy Ruston 
>
> about the d3 plugin: I think we won't make it in time to adjust the new 
> widgets so that they can be used in a productive way - they're still in a 
> demo-state
>
> We can leave the plugin as it is, or remove the widgets and have just the 
> library updated - adding some infos and links to the readme
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/09d4e5d7-aa90-449b-be46-5d7b38b4d585%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-04-06 Thread Silverfox
It's just a proof of concept so far... I still need to debug, improve, 
customize etc, before making a plug-in

Le vendredi 6 avril 2018 20:32:22 UTC+2, @TiddlyTweeter a écrit :
>
> Good stuff!
>
> Small point. On hover I see "Noam" mentioned in the Seth ring but I don't 
> see that name displayed in its sub-circle?
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/56fae2ce-9773-4bf6-ba10-409ee343b529%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-04-06 Thread Silverfox
It now works with "flat" (non nested) json and also csv tiddler, see the 
demo here 
: 
http://d3jsv5trial.tiddlyspot.com/#D3%20ZCP%20widget%20based%20on%20flat%20csv.

This is done by some d3 methods that can parse and stratify data...




-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/a368355f-7a51-4438-b5be-e1ef8d82f80a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: bug when calling a csv tiddler in a javascript

2018-04-06 Thread Silverfox
Finally I could achieve what I wanted to do by using getTiddlerText instead 
of getTiddlerData...

Thanks again

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/3e3eb353-5a06-414d-a11b-97c9a7c42a87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: bug when calling a csv tiddler in a javascript

2018-04-06 Thread Silverfox

OK, thanks, I understand better now,..



-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/54750677-efd1-4575-8682-43110c0bbd8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] bug when calling a csv tiddler in a javascript

2018-04-06 Thread Silverfox
I try to call data from a *csv *type tiddler in a javascript through the 
following ijnstruction 
var myData = this.wiki.getTiddlerData(this.myDataTiddler);

It works perfectly if the tiddler is a json, but leads to myData being 
"undefined" if it is a csv (or anything else than a json).

Is there a workaround to make it possible ?

Thank you

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/8b54ecfd-7166-4f62-9caa-c2f408f440c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] How to click on a D3 (svg) object to open a tiddler ?

2018-04-02 Thread Silverfox
Hello, 

Following this discussion 
(https://groups.google.com/forum/#!topic/TiddlyWiki/MIm5WyIZIhg) I go on 
working on using D3 plugin to navigate into TiddlyWiki.

In this basic example 
http://d3jsv5trial.tiddlyspot.com/#D3%20circle%20pack%20with%20clickable%20feature
 
when we double click on a bubble it opens an alert with the name of the 
bubble.

 I would like it to open a tiddler with the name of the bubble, and I did 
not found what could be the instruction for that.

my current code is : 

.on("dblclick",function(d){ alert("I'd like to open tiddler: "+ d.data.name
); });

I was thinking about using foreignObject instruction, but I'm not sure this 
is the best way and I don't know how to implement is.

Do you have any recommandations that could help ?

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/d93056f1-e9b5-4abb-a058-84c4e15a7128%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-04-01 Thread Silverfox
Thank you all for your comments. 

I have worked few weeks ago on a TW macro that generates a json based on 
the TW table of content... it works but, I'm not really happy with it, as 
it requires to click on a button.
Since D3 V4.x, there is a new command (
https://github.com/d3/d3-hierarchy#stratify) that will allow to use data 
from a simpler csv source than nested json. 
I'll work on implementing it, it should helps simplifying the transfer 
automatically TW generated data to D3 visualisation.

I'll publish all this in the coming days... but I first would like to 
concentrate on the feature that will allow to navigate thanks to the D3 
chart (open tiddler by clicking on a bubble)

I'll open a new post when I'll be ready

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/68ae2924-1870-4fd3-afd4-377c6591c51a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-03-31 Thread Silverfox
This is exactly what I would like to do... but I still need to learn (be 
helped) to reach it

Nicolas

Le samedi 31 mars 2018 00:01:04 UTC+2, Jan a écrit :
>
> Great!
> I want more!!!
> More displays like this and a little more explanation: Where does the data 
> come from. 
> I would love to use something like this as a table of content: It would be 
> great if the captions of the bubbles could open links (to Tiddlers)
>
> Again: Great work
> -Jan
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/0f40be01-a91f-47c9-b381-fc57007f3644%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-03-30 Thread Silverfox
This post to inform you that I succeeded to implement the *zoomable circle 
packing* D3 widget (for D3.js v5.0.0)
You can see it here : http://d3jsv5trial.tiddlyspot.com

Nice isn't it ?

I have added a small tutorial for dummies (like me), it may push others to 
further combine D3.js and TW

Many thanks @BurningTreeC, I could have not done it without you

And I go on with my personal project...

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/b070e47f-2584-4ed2-940c-47b2b2b89934%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-03-28 Thread Silverfox


I have updated http://d3jsv5trial.tiddlyspot.com

I could implement the widget for *Circle packing *(still need to understand 
how to improve with CSS style rather than hardcoding), but I failed, so 
far, to implement *Zoomable circle packing* ( 
https://bl.ocks.org/mbostock/7607535).

I cannot understand why it works when using D3 script in an HTML page, and 
not on the D3 adaptation for TW.

I think that the problem start when we use d3.hierarchy... but I may be 
wrong

when I console.log  this: 

> var root = d3.hierarchy(root) 

.sum(function(d) { return d.size; })

.sort(function(a, b) { return b.value - a.value; })

 
I obtain:



>  








we can see that x, y and r are undefined, but I don't why... and I even 
don't understand how they should be generated

Would that be possible that some variable would need to be initialized just 
when using D3 into TW, and not into regular HTML ?
Any other idea ?

Nicolas

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/47dbe145-3cd4-4698-b62c-2facad2d1d74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-03-28 Thread Silverfox
Thank you for you're support ... I learn a lot thanks to you...
I'll investigate and let you know

Le mardi 27 mars 2018 23:13:02 UTC+2, BurningTreeC a écrit :
>
>
> maybe it's this line in the widget
>>
>> var diameter = +svg.attr("width");
>>
>
> ok sorry ;) that's in the demo, too
>
> I'm no javascript genius 
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/6d43d026-2494-44e3-b6b9-ef6463fba526%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-03-27 Thread Silverfox
I'm not sure to understand (sorry, I'm a beginner)... 
you mean that you just need to copy/paste the content of d3.min.js in 
$:/plugins/tiddlywiki/d3/d3.js ?
there is no adaptation / modification ?

Le mardi 27 mars 2018 21:28:27 UTC+2, BurningTreeC a écrit :
>
> You can try another d3js version if you want to check if it's a bug
>
> To do so you can head over to the github repository, go to releases and 
> download a zipped release
> Unzip it, look for the d3.min.js file and copy its content to the d3.js 
> tiddler
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/482de8fd-a2cc-48d8-8b0c-2c5f57ac821d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-03-27 Thread Silverfox


>
> Hi, is the svg._groups[0][0] correct?
> I changed that in the barwidget, too , but just because it made an error 
> disappear. I was sceptical if it was the right way..
>
> I would investigate that
>
> BTC
>

Yes it looks OK 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/85548332-a505-4980-9457-0292adc2cfa7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-03-27 Thread Silverfox
@BurningTreeC 

I tried to adapt this https://bl.ocks.org/mbostock/7607535 which is native 
D3.js V4.
I put it in http://d3jsv5trial.tiddlyspot.com, but i face the same kind of 
bug than with the previous trial.

All the data items that should be spread on the tiddler, are actually all 
concentrated because of non-defined data...

As a consequence, I wonder if there's a bug in your D3.js V5.0 that could 
explain it... 
But I don't know how to investigate it...

Apart of this I try to understand how to use css stylesheet from usual D3 
files into TW...

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/dd25c2bf-b1ec-42bf-b0c4-46b66fc6cd52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-03-26 Thread Silverfox
I made few progress, by correcting few details in the D3 code but still 
have a bug.

The (temporary) result is here : http://d3jsv5trial.tiddlyspot.com

It looks to be linked with the function transitionGrouped() ... 
When activated, all the x value are zero (or undefined)
I still need to investigate... if you have some ideas they are more than 
welcome

Nicolas

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/c35f9d5b-fd18-4787-8a30-be6285b4c20d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-03-25 Thread Silverfox
Than you so much, l'll play with it during the next few days, and I'll 
share the result

Nicolas

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/7840ff33-d3d3-49f3-b6bd-9915c574293b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-03-25 Thread Silverfox
@BurningTreeC 

Oh yes that would be great, I will then adapt the 2 demo widget and can add 
> some others.
>
Thanks
 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/6ea08cf7-89d1-4468-b0c1-f080cdab5368%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-03-24 Thread Silverfox
I'm currently learning to build some other D3 widgets than the cloud and 
the bar, but as my skills are limited and there is no documentation, i do 
it mainly through trial and errors ...it takes time, but I think I can do 
it.
I'll publish my results when the results will be good enough.

But, for me, updating D3 to V5 looks much more scary, I don't feel I can do 
it at all...

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/696969b8-adbb-4ba6-8b0a-56a40e2246aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] will D3.js plugin be upgraded to version 4.x ?

2018-03-24 Thread Silverfox
Hello, 

I discovered TiddlyWiki few months ago and really enjoy it.
I enjoy it so much that, even f I did not program anything for around 20 
years, I'd like to code again to realize an idea based on data 
visualization.

For that I started to use the D3JS official plugin, but I recently realized 
it is based on former V3.x version while V4.x is now the official D3JS one 
with nice new features I would like to use.

My skills are clearly limited... do you think the D3JS plugin will be 
updated for V4.x ? 
Is it complex to do ? Are there some recommendations / tutorial somewhere ?

Thank you for your help 


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/896fd76a-b8ea-48f0-8345-a7f7b0e9005a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.