# How to expand tab size (workspace) in nodered instead of 8000X8000

**URL:** <https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195>\
**Category:** General\
**Created:** [15 August 2024 13:52 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195 "2024-08-15T13:52:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tienhung36](https://avatars.discourse-cdn.com/v4/letter/t/278dde/32.png) [@tienhung36](https://discourse.nodered.org/u/tienhung36)\
**Post date:** [15 August 2024 13:52 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/1 "2024-08-15T13:52:00Z")

</div>

Can anyone help me solve it?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [15 August 2024 15:16 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/2 "2024-08-15T15:16:39Z")

</div>

If you are talking about the editor at the bottom right you will see:  
 ![bottom_right](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/0/e0317d52da4d3dcb1f119fb672c487c659b14b2f.png)

the `-` makes the flows smaller (zooms out)  
the `o` sets it back to the default size  
the `+` zooms in

here is a sample of a zoomed out page

 ![shrunk](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/a/daeee6133bf4297309f682a9e08b4cbbb22943ea.png)

---

<div class="post-metadata">

**Author:** ![tienhung36](https://avatars.discourse-cdn.com/v4/letter/t/278dde/32.png) [@tienhung36](https://discourse.nodered.org/u/tienhung36)\
**Post date:** [17 August 2024 18:47 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/3 "2024-08-17T18:47:14Z")

</div>

![image.png](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/c/dc16bf00ff5fa9643962f7cd0a2d653b0f6980f7.png)

no, I mean this size, when I add more nodes it leads to not enough length of the page to add another node

Vào Th 5, 15 thg 8, 2024 vào lúc 22:26 Paul via Node-RED Forum \<[notifications@nodered.discoursemail.com](mailto:notifications@nodered.discoursemail.com)\> đã viết:

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [17 August 2024 19:14 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/4 "2024-08-17T19:14:09Z")

</div>

You need to provide more information because it is unclear to me where you are doing this.

Is this in a dashboard? DASHBOARD 1 OR 2?  
What version of Node-RED and node.js are you using?  
What device are you running NR on?  
Are you using home assistant or docker?

Provide a sample flow of the issue.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 August 2024 20:06 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/5 "2024-08-17T20:06:32Z")

</div>

Do you mean that you have not got enough space in the editor for all the nodes you need? Do you realise that you can (should) split your flow logically across multiple tabs? My systems typically have a few tens of tabs, each with a few tens of nodes.

---

<div class="post-metadata">

**Author:** ![tienhung36](https://avatars.discourse-cdn.com/v4/letter/t/278dde/32.png) [@tienhung36](https://discourse.nodered.org/u/tienhung36)\
**Post date:** [18 August 2024 08:03 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/6 "2024-08-18T08:03:05Z")

</div>

![image.png](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/d/5dfe111c10511641a627670e5bd0792b8491af58.png)

I mean it reaches the limit of one page, currently I'm saving user texting data so when I switch to another page it will lose data.

Vào CN, 18 thg 8, 2024 vào lúc 03:16 Colin via Node-RED Forum \<[notifications@nodered.discoursemail.com](mailto:notifications@nodered.discoursemail.com)\> đã viết:

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [18 August 2024 08:08 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/7 "2024-08-18T08:08:09Z")

</div>

Look at the link nodes, they can be used to bridge across tabs and breaking the flow up into smaller sections will make it a LOT more readable and maintainable.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [18 August 2024 08:18 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/8 "2024-08-18T08:18:05Z")

</div>

> [@tienhung36](#):
>
> currently I'm saving user texting data

I don't know what that means, please explain.

---

<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:** [18 August 2024 09:15 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/9 "2024-08-18T09:15:29Z")

</div>

To answer your question directly, the 8000x8000 size is hardcode in the editor and cannot be customised.

---

<div class="post-metadata">

**Author:** ![tienhung36](https://avatars.discourse-cdn.com/v4/letter/t/278dde/32.png) [@tienhung36](https://discourse.nodered.org/u/tienhung36)\
**Post date:** [18 August 2024 10:46 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/10 "2024-08-18T10:46:31Z")

</div>

I'm building a chatbot, and I'm saving information from users. I tried using node link but it didn't work

const currentChat = msg.chat();  
const userSessionData = flow.get('userSession') || {};  
const chatId = currentChat.chatId;  
if(!userSessionData.hasOwnProperty(chatId)) {  
userSessionData[chatId] = {};  
}  
var content = msg.payload.content;  
node.warn(content); const lang = content.title;  
userSessionData[chatId]['lang'] = lang.includes('English') ? 'en' : 'vi';  
userSessionData[chatId]['contentState'] = 'start';  
msg.payload.lang=lang.includes('English') ? 'en' : 'vi';  
msg.payload.contentState = 'start';  
flow.set('userSession', userSessionData);  
return msg;

this is how i get data and save data. If there's a better way to post the length of a tab

Vào CN, 18 thg 8, 2024 vào lúc 15:28 Colin via Node-RED Forum \<[notifications@nodered.discoursemail.com](mailto:notifications@nodered.discoursemail.com)\> đã viết:

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [18 August 2024 10:53 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/11 "2024-08-18T10:53:30Z")

</div>

> [@tienhung36](#):
>
> I'm saving user texting data so when I switch to another page it will lose data.

Are you using a lot of flow context variables?

I see that you have some nodes in groups.

These groups are an excellent candidate for moving to another editor tab using a link-in at the group input and a "return to calling node" link at the group output.  
But you have to ensure that any data needed by the group is passed in as a message property and not as context variables. Same for data set or modified within the group

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [18 August 2024 13:11 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/12 "2024-08-18T13:11:55Z")

</div>

> [@tienhung36](#):
>
> flow.set('userSession', userSessionData);

Because you are using flow context it is only accessible on that flow tab. Personally I would not use context for this at all, but if you must then you can use global.set() which will save it in the global context which is available on all flows.

---

<div class="post-metadata">

**Author:** ![tienhung36](https://avatars.discourse-cdn.com/v4/letter/t/278dde/32.png) [@tienhung36](https://discourse.nodered.org/u/tienhung36)\
**Post date:** [18 August 2024 16:33 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/13 "2024-08-18T16:33:50Z")

</div>

What about increasing the length of the tab instead of the previous maximum size being 8000x8000?

Vào CN, 18 thg 8, 2024 vào lúc 20:22 Colin via Node-RED Forum \<[notifications@nodered.discoursemail.com](mailto:notifications@nodered.discoursemail.com)\> đã viết:

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [18 August 2024 22:50 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/14 "2024-08-18T22:50:24Z")

</div>

> [@tienhung36](#):
>
> What about increasing the length of the tab instead of the previous maximum size being 8000x8000?

See here -

> [@knolleary](#):
>
> To answer your question directly, the 8000x8000 size is hardcode in the editor and cannot be customised.

---

<div class="post-metadata">

**Author:** ![tienhung36](https://avatars.discourse-cdn.com/v4/letter/t/278dde/32.png) [@tienhung36](https://discourse.nodered.org/u/tienhung36)\
**Post date:** [21 August 2024 10:24 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/16 "2024-08-21T10:24:26Z")

</div>

> [@tienhung36](#):
>
> không

Will the size be increased in the next version?

---

<div class="post-metadata">

**Author:** ![tienhung36](https://avatars.discourse-cdn.com/v4/letter/t/278dde/32.png) [@tienhung36](https://discourse.nodered.org/u/tienhung36)\
**Post date:** [21 August 2024 10:25 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/17 "2024-08-21T10:25:06Z")

</div>

Will the size be increased in the next version, thanks?

---

<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:** [21 August 2024 15:43 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/18 "2024-08-21T15:43:08Z")

</div>

There are no plans to do so. Is your 8000x8000 really completely full?

---

<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 August 2024 21:14 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/19 "2024-08-21T21:14:11Z")

</div>

Is there a reason you can't use multiple pages for your flows ?  
(with links between them if necessary)

---

<div class="post-metadata">

**Author:** ![tienhung36](https://avatars.discourse-cdn.com/v4/letter/t/278dde/32.png) [@tienhung36](https://discourse.nodered.org/u/tienhung36)\
**Post date:** [23 August 2024 16:09 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/20 "2024-08-23T16:09:07Z")

</div>

How can I set and get the value of a variable so that it can be used by many pages?

Vào Th 5, 22 thg 8, 2024 vào lúc 04:24 dceejay via Node-RED Forum \<[notifications@nodered.discoursemail.com](mailto:notifications@nodered.discoursemail.com)\> đã viết:

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [23 August 2024 16:28 UTC](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195/21 "2024-08-23T16:28:21Z")

</div>

> [@tienhung36](#):
>
> How can I set and get the value of a variable

You have been doing this in the code above;

`const userSessionData = flow.get('userSession') || {};`

flow.get/set, global.get/set

Then there are link nodes (link in/out), which work/connect on the same flow or across flow tabs.  
There is a link call node, that makes it possible to reuse a flow (like a function)  
Then there are subflows, which can be used to instantiate flows.

I cannot imagine that anyone can exhaust the current canvas space.

[Next page](https://discourse.nodered.org/t/how-to-expand-tab-size-workspace-in-nodered-instead-of-8000x8000/90195.md?page=2)
