I just copied code from here 
https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/d3/cloudwidget.js
 
which works. But I will try yours variant.

среда, 2 января 2019 г., 8:56:36 UTC+3 пользователь BurningTreeC написал:
>
>
> In the demo this code works
>>
>>
>> .attr("viewBox", "0 0 960 500") 
>> .attr("preserveAspectRatio", "xMinYMin meet") 
>> .attr("width", width + margin.left + margin.right) 
>> .attr("height", height + margin.top + margin.bottom);
>> var svgElement = d3.select(parent).insert("svg",function() {return 
>> nextSibling;})
>>
>
> d3.select(this.parentDomNode).insert ... maybe? 
>
>>
>> In latest d3.js this code gives ownerDocument is undefined. It is given 
>> inside d3.js in function W(t). Arg "parent" does not have such field as 
>> ownerDocument but it is needed
>>
>> среда, 2 января 2019 г., 0:23:35 UTC+3 пользователь BurningTreeC написал:
>>>
>>> If you cannot access the parentDomNode, then it may be that on top of 
>>> your render function "this.parentDomNode = parent;" is missing
>>>
>>> ... ?
>>>
>>

-- 
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/0bfdc7ec-a100-4190-ac71-bd4a303802ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to