@felix : double headed arrrows

90 views
Skip to first unread message

Alex Hough

unread,
Jul 13, 2015, 6:18:16 PM7/13/15
to TiddlyWiki
Felix,

I am loving the latest version, especially the subtle glow when a tiddler comes into focus.

I've got my head round styling edges, but can't see a way to remove arrow heads or make them double

is this possible

best wishes

Alex

Felix Küppers

unread,
Jul 13, 2015, 7:41:14 PM7/13/15
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com
Hi Alex

 
I am loving the latest version,

Nice, thanks for telling me :)
 
especially the subtle glow when a tiddler comes into focus.

This is done with the help of the hotzone plugin. I presented it in the last hangout. It assigns a css class to the currently focussed tiddler which allows you to use a css style or animation just like it is applied at tiddlymap.org
 
I've got my head round styling edges, but can't see a way to remove arrow heads or make them double

The following edge arrow styles are possible: http://visjs.org/examples/network/edgeStyles/arrows.html

In your tiddlymap, go to the edge-type manager and enter the json for the style you want to see appear for an edge-type.

E.g.

{
   
"color": "orange",
   
"dashes": true,
   
"arrows": {
       
"middle": {
           
"enabled": true
       
},
       
"to": {
           
"enabled": true
       
}
   
}
}

To see all available options go to http://visjs.org/docs/network/edges.html

Use the vis-configurator as a wizzard to generate the json for the edges: http://visjs.org/examples/network/other/configuration.html

To remove arrows explicitly set "enabled" to false.

I will integrate the configurator into tiddlymap once I find the time.

-Felix

Alex Hough

unread,
Jul 14, 2015, 2:26:25 AM7/14/15
to TiddlyWiki
Thanks Felix,

It really is a pleasure to use.


The hotzone combined with opening tiddlers on top give a sense of satisfaction.... i doin't know how to describe it. I had an idea which could be easiliy adapted from this (i guess): when a tiddler is closed, the "recent" tab glows, thus indicating "where the tiddler has gone"

The vis-configutator makes things a lot easier, it would make a great addition


btw, it looks like js.viz guys have changed their URLs around: the links on "Tweaking the Graph" give page not found  

best wishes


Alex

--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d3766bfe-039f-4b66-91ac-847829f1ecad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Hough

unread,
Jul 14, 2015, 2:30:35 AM7/14/15
to TiddlyWiki
ps. could the styling JOSN be put into a tiddler and tagged in a similar way to stylesheets are in TW core

my first impulse was to cut and paste the code into a tiddler, then to find the place to put it.


Alex

Alex Hough

unread,
Jul 14, 2015, 2:42:06 AM7/14/15
to TiddlyWiki
Felix,

sorry to bother you again... 

Is it currently possible to style individual node shapes in the same way?

I've changed the shape to "circle" in the plugin, but would like to use different shapes for different nodes


Alex

Felix Küppers

unread,
Jul 14, 2015, 5:25:24 AM7/14/15
to tiddl...@googlegroups.com
Hi Alex

> Is it currently possible to style individual node shapes in the same way?
> I've changed the shape to "circle" in the plugin, but would like to
> use different shapes for different nodes

Yap, this is the next *BIG* goal for tiddlymap. Many people have
requested this feature and it will be available in the future.

See this github issue:
https://github.com/felixhayashi/TW5-TiddlyMap/issues/152

-Felix

Felix Küppers

unread,
Jul 14, 2015, 5:25:30 AM7/14/15
to tiddl...@googlegroups.com
Hi Alex

> ps. could the styling JOSN be put into a tiddler and tagged in a
> similar way to stylesheets are in TW core. my first impulse was to cut
> and paste the code into a tiddler, then to find the place to put it.

Unfortunately this doesn't work. TiddlyMap hides this aspect from the
user and deliberately does not use a tagging scheme for the creation of
edge-types (for various reasons).

If you want to create edge types from hand, search for system tiddlers
with "$:/plugins/felixhayashi/tiddlymap/graph/edgeTypes/" as prefix and
create tiddlers accordingly. In future versions the path below which
edge-types are stored may change. The Edge-type manager is the official
way to create and manage edge-types.

-Felix

Felix Küppers

unread,
Jul 14, 2015, 5:25:47 AM7/14/15
to tiddl...@googlegroups.com
Hi Alex

> The hotzone combined with opening tiddlers on top give a sense of
> satisfaction.... i doin't know how to describe it.

:)

> I had an idea which could be easiliy adapted from this (i guess): when
> a tiddler is closed, the "recent" tab glows, thus indicating "where
> the tiddler has gone"

I get the idea and this "smooth signalling" where pieces of information
are to find in an interface related to user actions is frequently used
in modern software (e.g. something went to trash and the trash icon glows).

That said, I think the animation in the open list is quite sufficient
for that.

Also the hotzone plugin would be the wrong place for this idea and I try
to be really strict about separation of concerns: Its purpose is not to
generally highlight user actions but to check which tiddler is scrolled
into focus.

> btw, it looks like js.viz guys have changed their URLs around: the
> links on "Tweaking the Graph" give page not found

Thanks for telling me. Hard to keep the docs updated as fast as the code
changes.

-Felix
Reply all
Reply to author
Forward
0 new messages