Recommendations for an ASCII to diagram plugin?

253 views
Skip to first unread message

Neech WORTHINGTON

unread,
Mar 1, 2018, 6:18:36 AM3/1/18
to TiddlyWiki
I've been using this proof-of-concept code from https://github.com/dbushong/shaky to generate simple "shaky hand drawn" diagrams from simple ASCII source data.

Since this isn't a plugin, I need to save the resulting image into my TiddlyWiki to embed it into a Tiddler.

Can anybody recommend a plugin for TiddlyWiki that will dynamically convert my ASCII diagram drawing into a canvas image to display inside the tiddler, and thus keep the size of my wikis down?

If nobody can recommend one, maybe someone would be amazingly kind and convert the https://github.com/dbushong/shaky into a usable TiddlyWiki plugin? I am afraid it is just outside of my level of competency.

Stephan Hradek

unread,
Mar 1, 2018, 7:58:19 AM3/1/18
to TiddlyWiki
*WOW* That's cool… But nothing I think I'm able to do.

Nicola Worthington

unread,
Mar 1, 2018, 9:30:03 AM3/1/18
to tiddl...@googlegroups.com

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/7Za1WXrcSMs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscribe@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/4fe3a348-12c9-4a8c-87fe-55a5848e5762%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Jed Carty

unread,
Mar 1, 2018, 12:57:12 PM3/1/18
to TiddlyWiki
The code isn't too terribly difficult. I am going to look at it now. I am not promising anything.

Nicola Worthington

unread,
Mar 1, 2018, 1:25:51 PM3/1/18
to tiddl...@googlegroups.com
That is very generous of you kind sir, and very much appreciated! Don't worry, no expectations.

On 1 March 2018 at 17:57, Jed Carty <inmy...@gmail.com> wrote:
The code isn't too terribly difficult. I am going to look at it now. I am not promising anything.

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/7Za1WXrcSMs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

For more options, visit https://groups.google.com/d/optout.

@TiddlyTweeter

unread,
Mar 1, 2018, 1:50:27 PM3/1/18
to tiddl...@googlegroups.com
Ciao Nicola & Jed

That looks very interesting!!! for doing designs that have quite a bit of freedom.

FWIW, for a long time I been looking for something to construct kinship trees with. Most of the flow chart solutions don't allow them (their logic prevents it) this approach looks like it might work?

Here is some test layout in ASCII ... (edited for proper syntax)

   +-------------+     +-------------+  
   
| FATHER      |--+--| MOTHER      |
   
| John Higg   |  |  | Mabel Dee   |
   
+-------------+  |  +-------------+
                   
|    
        
+----------+---------+--------------------+
         
|                    |                    |        
   
+-----+-------+     +------+------+      +------+------+     +-------------+
   
| SISTER      |     | BROTHER     |      | *EGO*       |--+--| WIFE        |
   
| Flo Higg    |     | Fred Higg   |      | Glenn Higg  |  |  | Cheri Ott   |
   
+-------------+     +-------------+      +-------------+  |  +-------------+
                                                             
|
                                                  
+---------+----------+ 
                                                   
|                    |  
                                         
+--------+----+      +--------+----+
                                         
| SON         |      | SON         |
                                         
| Adam Higg   |      | Ben Higg    |
                                         
+-------------+      +-------------+


Best wishes
Josiah

Nicola Worthington

unread,
Mar 1, 2018, 1:58:25 PM3/1/18
to tiddl...@googlegroups.com
With a slight modification of the ASCII to use a + at the corners and joins, ... yes. It seems to work nicely.


On 1 March 2018 at 18:50, @TiddlyTweeter <tiddly...@assays.tv> wrote:
Ciao Nicola & Jed

That looks very interesting!!! for doing designs that have quite a bit of freedom.

FWIW, for a long time I been looking for something to construct kinship trees with. Most of the flow chart solutions don't allow them (their logic prevents it) this approach looks like it might work?

Here is some test layout in ASCII ...

   +-------------+     +-------------+  
   
| FATHER      |-----| MOTHER      |

   
| John Higg   |  |  | Mabel Dee   |
   
+-------------+  |  +-------------+
                   
|
   
         
-------------------------------------------
         
|                    |                    |        
   
+-------------+     +-------------+      +-------------+     +-------------+
   
| SISTER      |     | BROTHER     |      | *EGO*       |-----| WIFE        |

   
| Flo Higg    |     | Fred Higg   |      | Glenn Higg  |  |  | Cheri Ott   |
   
+-------------+     +-------------+      +-------------+  |  +-------------+
                                                             
|

                                                   
----------------------  
                                                   
|                    |  
                                         
+-------------+      +-------------+

                                         
| SON         |      | SON         |
                                         
| Adam Higg   |      | Ben Higg    |
                                         
+-------------+      +-------------+

Best wishes
Josiah

On Thursday, 1 March 2018 19:25:51 UTC+1, Nicola Worthington wrote:
That is very generous of you kind sir, and very much appreciated! Don't worry, no expectations.

On 1 March 2018 at 17:57, Jed Carty <inmy...@gmail.com> wrote:
The code isn't too terribly difficult. I am going to look at it now. I am not promising anything.

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/7Za1WXrcSMs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

For more options, visit https://groups.google.com/d/optout.

@TiddlyTweeter

unread,
Mar 1, 2018, 2:39:49 PM3/1/18
to TiddlyWiki
Nicola, thank you! great stuff.

I will edit the example in my last post as needed. The simplicity of what you need to type is very appealing!

Best wishes
Josiah
Reply all
Reply to author
Forward
0 new messages