Stephen,

I wanted something similar and found a solution which is not elegant but ... well it works for me:

you can use the maxdepth attribute, set it to 1; then you add a conditional template which has a selector for the maxdepth, which you store in a field


1. This is what the tidgraph call looks like:

       <$tidgraph start={{!!title}} maxdepth={{!!maxdepth}}
       startat={{!!startat}} />


2. This is what the relevant element of the _*conditional template*_ look like:

                <$list filter="[all[current]search[<$tidgraph]]">

3. Here you select the maxdepth:

       <$select field='maxdepth'>
       <option value="1">1</option>
       <option value="2">2</option>
       <option value="10">10</option>
       </$select>

Note that the value is stored in a field of the tiddler which calls the tidgraph, so it is persistent.
Note: this works with ALL the other attributes (like startat) as well.

Regards

Pit

Am 2017-11-14 um 16:13 schrieb Stephen Wilson:
Hi Ihm,
Not sure if your still around but if you are...
Love tidgraph...feature request?

Would it be possible to have a tidgraph open in a collapsed or partially collapsed state?

Stephen

On Tuesday, 22 November 2016 12:24:04 UTC, HC Haase wrote:

    Hi
    [featurer request]

    Tidgraph is simple and awsome. It would be cool if one could:

    make a mode that could make graphs from nested list in twmarkup
    (or/and markdown). This way I could fast have a flowchart just by
    writing a nested list.

     *

        it would be fast to work with - less clicking

     *

        it would limit the number of tiddlers. If I want a flowchart
        but don’t want to populate my wiki with tiddlers only relevant
        for that chart.

    what do you think? is this possible? is it realistic?


    thanks

    Den fredag den 27. november 2015 kl. 00.44.32 UTC+1 skrev
    ih…@newsfromgod.com <http://newsfromgod.com>:


        Hi,

            This is a new version of Tidgraph with enhancements and
        bug fixes:

        Version 0.9.5:

            * SVG collapse/expand button (thanks Tobias)
            * Mode subfilter can be specified directly in mode attriute
            * Doc update
            * Eliminate unneeded console messages
            * Fix arrow stroke size (regression)
            * Dashed style for edges outside main tree

        You can find the installation here:
        
https://ihm4u.github.io/tw5plugs/#Tidgraph%20-%20Easy%20tiddler%20graphs%20for%20TW5
        
<https://ihm4u.github.io/tw5plugs/#Tidgraph%20-%20Easy%20tiddler%20graphs%20for%20TW5>


        For those that don't know, Tidgraph draws a graph of the
        relationships
        between your tiddlers using tags, links or custom filters (called
        modes).You can see a demo on the web page above.

        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 [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[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/d5b07d4c-f0f9-4780-9cdb-c1a8e63be17b%40googlegroups.com <https://groups.google.com/d/msgid/tiddlywiki/d5b07d4c-f0f9-4780-9cdb-c1a8e63be17b%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/d8eb2493-69b7-f087-85b3-c6bff7fc8472%40eclipso.ch.
For more options, visit https://groups.google.com/d/optout.

Reply via email to