# Grouping subflows - renaming category

**URL:** <https://discourse.nodered.org/t/grouping-subflows-renaming-category/9215>\
**Category:** Developing Nodes\
**Created:** [20 March 2019 04:16 UTC](https://discourse.nodered.org/t/grouping-subflows-renaming-category/9215 "2019-03-20T04:16:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mvidhya86](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@mvidhya86](https://discourse.nodered.org/u/mvidhya86)\
**Post date:** [20 March 2019 04:16 UTC](https://discourse.nodered.org/t/grouping-subflows-renaming-category/9215/1 "2019-03-20T04:16:19Z")

</div>

Hi  
I have 5 subflows, i want to group them in various categories , say. 2 in one group and other 3 in another group, i noticed that we can use categorize option, is there a way to rename the created category ?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [20 March 2019 08:46 UTC](https://discourse.nodered.org/t/grouping-subflows-renaming-category/9215/2 "2019-03-20T08:46:07Z")

</div>

Hi @mvidhya86

you cannot rename the category directly, but you can move the subflows to the category with the name you do want and Node-RED will forget about the old category when you deploy and reload the editor.

---

<div class="post-metadata">

**Author:** ![mvidhya86](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@mvidhya86](https://discourse.nodered.org/u/mvidhya86)\
**Post date:** [20 March 2019 09:07 UTC](https://discourse.nodered.org/t/grouping-subflows-renaming-category/9215/3 "2019-03-20T09:07:29Z")

</div>

Thanks, and how do i remove an already created category - i currently don't see any direct option...

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [20 March 2019 09:08 UTC](https://discourse.nodered.org/t/grouping-subflows-renaming-category/9215/4 "2019-03-20T09:08:20Z")

</div>

> [@mvidhya86](#):
>
> how do i remove an already created category - i currently don't see any direct option...

That is exactly what I answered. If the category has no nodes in it, the editor will forget about it when you next reload. There is no option to remove an empty category directly.

---

<div class="post-metadata">

**Author:** ![mvidhya86](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@mvidhya86](https://discourse.nodered.org/u/mvidhya86)\
**Post date:** [21 March 2019 03:55 UTC](https://discourse.nodered.org/t/grouping-subflows-renaming-category/9215/5 "2019-03-21T03:55:06Z")

</div>

Yes, i use this option and it works. Do i have an option to order it in the way i need? for e.g. i created a category with 2 sub flows - i want this to appear first in the palette ...

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [21 March 2019 09:00 UTC](https://discourse.nodered.org/t/grouping-subflows-renaming-category/9215/6 "2019-03-21T09:00:40Z")

</div>

You can edit the category list order in your settings.js file... any with nothing in will not show so you can add some in anticipation they will exist at a later date.

---

<div class="post-metadata">

**Author:** ![mvidhya86](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@mvidhya86](https://discourse.nodered.org/u/mvidhya86)\
**Post date:** [21 March 2019 11:20 UTC](https://discourse.nodered.org/t/grouping-subflows-renaming-category/9215/7 "2019-03-21T11:20:37Z")

</div>

thanks, i noticed some issues if i name the category in capital letters, nevertheless i renamed to have all lower cases and it works. is there a way to provide unique color for the sub flows which belong to a specific category ?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [21 March 2019 13:38 UTC](https://discourse.nodered.org/t/grouping-subflows-renaming-category/9215/8 "2019-03-21T13:38:32Z")

</div>

Not currently - no. You can set the name and Icon. So the colour is the only thing left for a means for people to quickly understand what it is they are looking at when "reading" a flow. IE work out what is a subflow (in this example).

If and when eventually the nodegen project support converting subflows into installable nodes - then you would be able to set the colour - as you can for any other fully custom node.
