tiddly-gittly / tw-echarts

An All-in-one Visualization Framework for TiddlyWiki5 based on ECharts
https://tiddly-gittly.github.io/tw-echarts/
MIT License
47 stars 8 forks source link

TheBrain Shows Missing Parent #11

Closed kookma closed 1 year ago

kookma commented 2 years ago

In the sidebar TheBrain shows the missing exmp01?

Is this intentional? If so how can I disable such parent? In Tiddlywiki standard this is not a node!

Gk0Wk commented 2 years ago

I think exmp01 is the parent of these three tiddlers (this is inspired by the [more]-[explore] tree structure), but as it stands now, it will show even if the parent doesn't exist right? If so I will fix it as soon as possible.

Also, clicking on a category hides/shows a certain type of node, but now this state is not preserved every time the widget is recreated, I'll fix this.

kookma commented 2 years ago

I can live with it! but I wanted to inform you! I am agree with what you said above! I keep this open to be closed as per your decision!

Gk0Wk commented 2 years ago

I checked the code and recalled what I was thinking. Just as a tiddler's tag corresponding to a tiddler can not exist, I think the parent tiddler should be shown even if it does not exist. But this raises another question: How should we focus effective information in a dynamic brain map?

First, I think that the relationship with the unfocused tiddler is not that important and should be diluted in some way; we should emphasize the relationship with the tiddler that is currently in focus.

Second, information about the unfocused tiddler is not completely unimportant, and sometimes we do need to know the broad weak associations associated with the currently focused toddler.

So, any good advice? I would like to make The Brain View a dynamic knowledge map that can assist readers in finding relationships between tiddlers when reading tiddlers. Referring to Obsidian's map.

@linonetwo extends the two-layer relationship map based on The Brain View, but I think there is a problem of unfocused information, and we can discuss such a problem here!

linonetwo commented 2 years ago

Yes, sometimes you may want to show missing parent so you can add it. But most of the time they should be hidden because you won't need them.

So there need to be an indicator about this, and click to expand?

Gk0Wk commented 1 year ago

Remove "parent" and add "transclude" in v0.1.0. Because I think defining a "parent" is not very strict and practical

Thanks