Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couple of ideas #320

Open
AndreiPashkin opened this issue Aug 14, 2019 · 6 comments
Open

Couple of ideas #320

AndreiPashkin opened this issue Aug 14, 2019 · 6 comments
Labels
question A user question about TiddlyMap

Comments

@AndreiPashkin
Copy link

AndreiPashkin commented Aug 14, 2019

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 AndreiPashkin changed the title Idea: making tiddler's body fully or partially visible in the map Couple of ideas Aug 15, 2019
@felixhayashi felixhayashi added the question A user question about TiddlyMap label Aug 25, 2019
@hchaase
Copy link

hchaase commented Sep 25, 2019

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
Copy link

hchaase commented Sep 25, 2019

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!

@felixhayashi
Copy link
Owner

felixhayashi commented Jan 29, 2020

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: #333

I already experimented with this a while ago (see almende/vis#3146 (comment)), however visjs is preventing me from going further at the moment.

@felixhayashi
Copy link
Owner

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.

@saranvdev
Copy link

Show tiddlers' bodies in the map

Would be awesome to have :)

@icedblind
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question A user question about TiddlyMap
Projects
None yet
Development

No branches or pull requests

5 participants