# Documentation of Node-Red project

**URL:** <https://discourse.nodered.org/t/documentation-of-node-red-project/34680>\
**Category:** General\
**Created:** [22 October 2020 14:32 UTC](https://discourse.nodered.org/t/documentation-of-node-red-project/34680 "2020-10-22T14:32:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![edstobi](https://avatars.discourse-cdn.com/v4/letter/e/aca169/32.png) [@edstobi](https://discourse.nodered.org/u/edstobi)\
**Post date:** [22 October 2020 14:32 UTC](https://discourse.nodered.org/t/documentation-of-node-red-project/34680/1 "2020-10-22T14:32:53Z")

</div>

Hello  
i set up several flows which have become quite complex and where i invested a lot of time and testing.  
This I now have to hand over as hardware together with a documentation.  
I wanted to ask you how you document such a thing so that an error analysis or later extension can be done by third party. ( assuming they know what Node Red and JScript is)  
I have successfully described the setup of pi and node red, but now I lack the approach how to proceed with the node red flows

---

<div class="post-metadata">

**Author:** ![mikefischer](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mikefischer/32/653_2.png) [@mikefischer](https://discourse.nodered.org/u/mikefischer)\
**Post date:** [22 October 2020 15:18 UTC](https://discourse.nodered.org/t/documentation-of-node-red-project/34680/2 "2020-10-22T15:18:07Z")

</div>

Have you read through [https://nodered.org/docs/developing-flows/documenting-flows](https://nodered.org/docs/developing-flows/documenting-flows) ? If so, are there specific situations that aren't covered there that we could help with?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [22 October 2020 17:09 UTC](https://discourse.nodered.org/t/documentation-of-node-red-project/34680/3 "2020-10-22T17:09:38Z")

</div>

Don't think I've ever read that page! 😊

Layout section could perhaps mention the use of link nodes to improve complex layouts. ~~Also, I don't think I saw anything about using a node's information tab?~~ Ah, that is right at the end.

Naming section doesn't mention the use of inline `/n` to get newlines.

Overall, quite a useful page.

I wonder though if @edstobi isn't looking for a more corporate approach for documentation beyond self-documenting the flow itself? Also documenting the settings.js and other associated files, in particular the package.json.

---

<div class="post-metadata">

**Author:** ![edstobi](https://avatars.discourse-cdn.com/v4/letter/e/aca169/32.png) [@edstobi](https://discourse.nodered.org/u/edstobi)\
**Post date:** [23 October 2020 14:06 UTC](https://discourse.nodered.org/t/documentation-of-node-red-project/34680/4 "2020-10-23T14:06:09Z")

</div>

At the beginning of my Node Red Projekt dokumentation I will describe the additions from the settings and package.

I will describe the function of the flow. I will use a flowchart for this purpose. As an appendix I will add the export of the flow and hope that this is sufficient.  
If this is enough for a supplement or error analysis in a few years you have to see  
[https://nodered.org/docs/developing-flows/documenting-flows](https://nodered.org/docs/developing-flows/documenting-flows) helps to understand Node Red, but not the project. But also I haven't read this page before and have read some interesting points and will add it to the project. The grouping of nodes is a good tool for the documentation

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [23 October 2020 19:26 UTC](https://discourse.nodered.org/t/documentation-of-node-red-project/34680/5 "2020-10-23T19:26:45Z")

</div>

One of the things I've started doing with my custom nodes that might also be useful for flows in general is adding test cases. These can be used to show common successful and failing flows by providing standard inputs and testing the output for the expected results.

Possibly most useful for sub-flows? But you could also use to test a tab for example by adding an input and an output link and connecting to those from your test flow.

Groups are really nice for making those tests neat and tidy.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/b/8b33b265d94423984247fae8cb1d522f8d0fe472.png)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/4/04dd17e476ca033512d2dff980c6e4d615fe4baa.png)

---

<div class="post-metadata">

**Author:** ![mannharleen](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mannharleen/32/25594_2.png) [@mannharleen](https://discourse.nodered.org/u/mannharleen)\
**Post date:** [29 October 2020 03:06 UTC](https://discourse.nodered.org/t/documentation-of-node-red-project/34680/6 "2020-10-29T03:06:49Z")

</div>

There is also a neat node-red-node-swagger node that helps document any HTTP apis being exposed from the container.

PS. The node is quite outdated and needs some work though

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [28 December 2020 03:06 UTC](https://discourse.nodered.org/t/documentation-of-node-red-project/34680/7 "2020-12-28T03:06:53Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
