Line type changes are properly reflected in UI and UI reacts to scope changes caused by selection.

todo: hide those relation styles that are not used in current tree.