TW5-TiddlyMap icon indicating copy to clipboard operation
TW5-TiddlyMap copied to clipboard

Couple of ideas

Open AndreiPashkin opened this issue 5 years ago • 6 comments

I have a couple of ideas that I'd like to implement if the maintainer gave a green light:

  • Show tiddlers' bodies in the map I'm thinking about option to show bodies fully or partially. For partial display only first paragraph could be used or portions of bodies marked with some special tags.
  • Hide descendants Option to hide descendants of certain node by certain edge for large maps.
  • Auto-layout Option to auto-magically organize nodes. Vis.js has built-in facilities for that.
  • Force-tree Option to make Tiddlymap ensure that a map is a tree - so it won't let user to create loops.

@felixhayashi, what are your thoughts?

AndreiPashkin avatar Aug 14 '19 14:08 AndreiPashkin

Auto-layout Option to auto-magically organize nodes. Vis.js has built-in facilities for that. Force-tree Option to make Tiddlymap ensure that a map is a tree - so it won't let user to create loops.

I really miss these features! the maps are kind of a mess, and the possibility to order tings in a tree or grid automatically and then adjusting things manually, would be so helpful!!

hchaase avatar Sep 25 '19 08:09 hchaase

Show tiddlers' bodies in the map I'm thinking about option to show bodies fully or partially. For partial display only first paragraph could be used or portions of bodies marked with some special tags.

I also think could be very useful but for a bit different reason. I would like to have map and draw a square around some nodes to show that they are grouped. This cold be attained if had the a sub-map in a tiddler and showed that tiddler (maybe combined with a box like Mohammad's cards).

Or do you think there are better ways to do that?

something like this: diagram

btw tiddlymap is awesome!

hchaase avatar Sep 25 '19 08:09 hchaase

I would like to have map and draw a square around some nodes to show that they are grouped.

Hi @hchaase "visually grouping nodes" is a task is tracked in this ticket: https://github.com/felixhayashi/TW5-TiddlyMap/issues/333

I already experimented with this a while ago (see https://github.com/almende/vis/issues/3146#issuecomment-373929776), however visjs is preventing me from going further at the moment.

felixhayashi avatar Jan 29 '20 09:01 felixhayashi

Hi @AndreiPashkin

thanks for your input.

"Show tiddlers' bodies in the map" will be hard to achieve as this is not covered by visjs capabilities. It would also require to first render TiddlyWiki tiddlers as HTML then transform them into images andthen render them on canvas (in which case you cannot edit the content anymore). So to me this is not feasible.

"Hide descendants" would be possible, it would require the user to enter an edge filter somewhere in the interface so that the view knows not to show "descendents", it is not an easy task and would require to touch https://github.com/felixhayashi/TW5-TiddlyMap/blob/v0.16.1/src/plugins/felixhayashi/tiddlymap/js/services/Adapter.js#L206 I guess.

"Auto-layout" would be possible via visjs as you said, it would however require some thought about where to set this option in the GUI

"Force-tree" I think this is possible but requires some cyclic graph detection mechanism everytime an edge is created. There is also the question if the cycle is only prevented for edges displayed in a view or for all edges in the system. Also, a feature like this would require to specify for which "edge types" the cyclic graph detection should count, e.g. if a user creates a loop with the edge type parent of then obviously this is a mistake and an error makes sense.

felixhayashi avatar Jan 29 '20 09:01 felixhayashi

Show tiddlers' bodies in the map

Would be awesome to have :)

saranvdev avatar Mar 20 '20 14:03 saranvdev

Hi there,

Show tiddlers' bodies in the map

i was in search of something like that, to have a "frame box" to group visually some nodes for my static-positioned network maps. After a long search, i came up with my own solution, that does not involves "before/afterDrawing", but nodes instead.

image

This are my "fancyBoxes", hope it helps someone other: fancyBoxes fiddle

icedblind avatar Apr 30 '21 13:04 icedblind