Railroad Diagram plugin

92 показвания
Преминаване към първото непрочетено съобщение

Damon Pritchett

непрочетено,
19.01.2019 г., 16:00:3019.01.19 г.
до TiddlyWiki
Hi folks,

Has anyone played with the railroad plugin very much yet? I've spent a couple of hours on learning it today and so far so good. One thing I'm wondering it can it do two branches on the left combining into one on the right. Hopefully, the stuff below will illustrate what I mean.

So here one diagram I generated:

Capture.PNG


What I haven't been able to figure out is how to do something like this:

--start1---|
               |----next----end---
--start2---|

Is it possible with the current plugin?

Thanks,

Damon

Thomas Elmiger

непрочетено,
19.01.2019 г., 17:10:5319.01.19 г.
до TiddlyWiki
Hi Damon,

If I remember correct – I searched for it myself some time ago –, this is not possible and not the idea of railroad diagrams. The reason seems to be someting like: The diagram shows the way from (railway) station A to station B. And you can’t start at C if you are at A ...

All the best,
Thomas

Damon Pritchett

непрочетено,
19.01.2019 г., 18:24:3219.01.19 г.
до TiddlyWiki
Hi Thomas,

Generally I would agree, but there are instances where a branch line goes off and ends such that there would be two ends of the line. For example, you start at station A, but you have the option to go to station B or C, but you wouldn't go through B to get to C and vice versa. That's the idea I'm trying to get to.

Cheers,

Damon

PMario

непрочетено,
19.01.2019 г., 18:39:4419.01.19 г.
до TiddlyWiki
Hi,

IMO

<$railroad text=""" ( start-1 | start-2 | start-3 )  next end """/>

should do it, but it looks a bit different.

-m

TonyM

непрочетено,
19.01.2019 г., 18:48:5919.01.19 г.
до tiddl...@googlegroups.com
Damon,

Given the nature of railroad diagrams as Thomas and Mario say, it may not illustrate what you want, however there are a number of visualisations available in tiddly-wiki. Also if you have something that is available in CSS you can include it at tag the tiddler $:/tags/Stylesheet save and reload and you can use the CSS.

See here for some of these, I expect you may find something suitable, also look as tiddlymap to more sophisticated ones


Regards
Tony

TonyM

непрочетено,
19.01.2019 г., 18:50:2019.01.19 г.
до TiddlyWiki

Jeremy Ruston

непрочетено,
20.01.2019 г., 10:39:4720.01.19 г.
до tiddl...@googlegroups.com
The Railroad Plugin uses this library:

https://github.com/tabatkins/railroad-diagrams/

I notice that it has been updated quite recently, and we haven't updated the version integrated in TW for several years. If there's any new features/bug fixes that are useful we should look at updating it.

Best wishes

--
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/154621cd-0f95-4d4e-a94f-a6cf644cef8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Отговор до всички
Отговор до автора
Препращане
0 нови съобщения