Category tree for Legend