Set default colour for new nodes
I'd like new nodes to take on the most recently applied colour. This will make it easier to create a map that does not use the default grey and also make it easier to add clusters of nodes sharing a colour.
this is now supported using the new drawing engine, which allows users to define default sizes, colors, fonts etc for nodes. For more info, see http://blog.mindmup.com/p/custom-css-styling.html
we plan to work on this feature more over the next month and reduce the dependency on CSS. At the moment, styling the map requires a bit of CSS knowledge.
-
Heidi van Schaik commented
I have an idea to support this. Since TAB gives you a child tab with the default colour, why not make e.g. ALT TAB give you a child with the most recently applied colour, and e.g. CTRL TAB give you a child with the same colour as its parent?
-
Carlos-Andrés Peña commented
I would prefer that new nodes inherit their properties (also) from sibling nodes
-
Richard Hoberman commented
Yes, I think inheritance would do the trick in the case of clusters, provided you could override that behaviour. Say, perhaps, that each node had a named style where available options were "inherited" and "default" together with user-defined styles.
So the root node starts with "default". Subsequent nodes start with "inherited". If you change a style attribute of a node it becomes "custom". If you give the custom style a name then you can apply that to other nodes.
Another approach might be to support tagging nodes and then support some sort of style-sheet. I'd definitely value experimenting with how nodes look in the map and I wouldn't like to have to select the relevant nodes each time. Tagging would make it easy to change the style of nodes that have a common meaning but which are spread out on the map.