felixhayashi / TW5-TiddlyMap

Map drawing and topic visualization for your wiki

Home Page:http://tiddlymap.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Cascading node group styles

dowrite opened this issue · comments

If a node belongs to 2 node-types, currently the node-type with the highest priority applies all of its style attributes to the node. It would be great if undefined style attributes would defer to the lower priority node-type.

For example: Suppose we have this node...
Title: Red Herring
Tags: fish (priority 1), red (priority 2)

Would love for it to take fa-icon from fish and color from red, but instead it only shows a black fish right now.

What you're describing is implemented. The problem is that the fa-icon type doesn't have the color conditional to whatever the node is set to. And unfortunately I'm not even sure how to use icons, much less how to fix them.

I've looked into this and confirmed that this behavior is entirely possible.

Create node groups inside of TiddlyMap with scopes of [tag[fish]] and [tag[red]] which have the "fa-icon" and "background" set respectively. You'll get exactly the outcome you're looking for. Let me know if you have any further trouble.