# Debugging custom node - no data flow

**URL:** <https://forum.dynamobim.com/t/debugging-custom-node-no-data-flow/4726>\
**Category:** FAQ\
**Created:** [June 27, 2016, 5:08am UTC](https://forum.dynamobim.com/t/debugging-custom-node-no-data-flow/4726 "2016-06-27T05:08:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Wintour](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paul_wintour/32/9381_2.png) [@Paul\_Wintour](https://forum.dynamobim.com/u/Paul_Wintour)\
**Post date:** [June 27, 2016, 5:08am UTC](https://forum.dynamobim.com/t/debugging-custom-node-no-data-flow/4726/1 "2016-06-27T05:08:48Z")

</div>

What is the best way to de-bug a custom node? I have a long graph that I want to condense. In Grasshopper you can just use cluster which are similar to custom nodes. But the problem with Dynamo custom nodes is:

1. You need to save the custom node separately somewhere. This is a pain because its not embedded in the main graph
2. Data doesn’t flow through the custom node when editing it. Clusters in grasshopper allows data to flow so you can easily see where any problems exist.

The only way I’ve found around this is to cut and paste into the main graph which is just painful. Any other solutions?

Even using groups is a pain because as far as I can see there doesn’t appear to be an option to add or remove nodes from a group. You can to ungroup everything, regroup and rename each time a change in made.

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [June 27, 2016, 5:21am UTC](https://forum.dynamobim.com/t/debugging-custom-node-no-data-flow/4726/2 "2016-06-27T05:21:15Z")

</div>

> [@Paul\_Wintour](#):
>
> there doesn’t appear to be an option to add or remove nodes from a group

![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/5/5083613d0b75860df17a41350407881938fb9a1a.png)  
 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/4/4ebf3fa2540eaae1b77ec77c0abdae702738d2e7.png)

> [@Paul\_Wintour](#):
>
> I have a long graph that I want to condense

_Node to Code_ helps condense  
If there was a way to reverse it, would have solved your problem 🙂

---

<div class="post-metadata">

**Author:** ![Einar\_Raknes](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/einar_raknes/32/8566_2.png) [@Einar\_Raknes](https://forum.dynamobim.com/u/Einar_Raknes)\
**Post date:** [June 27, 2016, 5:23am UTC](https://forum.dynamobim.com/t/debugging-custom-node-no-data-flow/4726/3 "2016-06-27T05:23:05Z")

</div>

> [@Grouping Nodes](https://forum.dynamobim.com/t/grouping-nodes/4533/2):
>
> Select the group and then shift+right click on the node you want to add. [image]

---

<div class="post-metadata">

**Author:** ![Paul\_Wintour](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paul_wintour/32/9381_2.png) [@Paul\_Wintour](https://forum.dynamobim.com/u/Paul_Wintour)\
**Post date:** [June 27, 2016, 5:25am UTC](https://forum.dynamobim.com/t/debugging-custom-node-no-data-flow/4726/4 "2016-06-27T05:25:03Z")

</div>

I don’t think node to code is a solution because the point of using a custom node is that if I update one, it will update the others. This wouldn’t happen with a node to code would it?

OK so the group thing is solved. But I really need a custom node so I don’t have to copy the same nodes multiple times. So how can I see the data in the node?

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [June 27, 2016, 5:34am UTC](https://forum.dynamobim.com/t/debugging-custom-node-no-data-flow/4726/5 "2016-06-27T05:34:09Z")

</div>

There is a custom node that gives information on nested nodes.  
 ![](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/5/59f8bae6aeeaff63832fb86e9101f4f60c85821f.png)

---

<div class="post-metadata">

**Author:** ![Paul\_Wintour](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paul_wintour/32/9381_2.png) [@Paul\_Wintour](https://forum.dynamobim.com/u/Paul_Wintour)\
**Post date:** [June 27, 2016, 5:36am UTC](https://forum.dynamobim.com/t/debugging-custom-node-no-data-flow/4726/6 "2016-06-27T05:36:47Z")

</div>

I don’t see how this can help. This is just for maintenance. To fix an error you need to go into the node. Not being able to see the data makes it almost impossible to troubleshoot within the node environment.

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [June 27, 2016, 6:05am UTC](https://forum.dynamobim.com/t/debugging-custom-node-no-data-flow/4726/7 "2016-06-27T06:05:40Z")

</div>

There is a solution coming down the pipeline, that should address this issue:

> <https://github.com/DynamoDS/Dynamo/pull/6597>

---

<div class="post-metadata">

**Author:** ![Paul\_Wintour](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paul_wintour/32/9381_2.png) [@Paul\_Wintour](https://forum.dynamobim.com/u/Paul_Wintour)\
**Post date:** [June 27, 2016, 6:09am UTC](https://forum.dynamobim.com/t/debugging-custom-node-no-data-flow/4726/8 "2016-06-27T06:09:30Z")

</div>

yes this is what I’m after. I guess I need to wait a bit longer

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [June 27, 2016, 6:54am UTC](https://forum.dynamobim.com/t/debugging-custom-node-no-data-flow/4726/9 "2016-06-27T06:54:42Z")

</div>

> [@Paul\_Wintour](#):
>
> I don’t think node to code is a solution because the point of using a custom node is that if I update one, it will update the others. This wouldn’t happen with a node to code would it?

Could, but it will need to be converted to a function.  
(Might be good if _Node to Code_ could convert a code block to a DS function.)

Food for thought. An academic exercise below…

- Node to code within the _dyf_  
 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/2/24e85ff63544b9d75f85b356d9bfeffc75f53f7f.png)

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/3/359cb97bc45f07428a5fea37fb08c9c7984ff76d.png)

- A function defined in the _dyn_  
 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/5/5bc97e03960354a692f19cd53f5652b097b73631.png)
