Mike Harris Posted March 20 Share Posted March 20 Hi all! I need to count the number of nodes in a graph. Starting from a datamanager in the Parent, Son, Group format I cannot simply do the group on the "Parent" column because some nodes do not have outgoing edges( e.g. node 4). How can I do this? Want to know more? Link to comment Share on other sites More sharing options...
Francesco Mantovani Posted March 22 Share Posted March 22 Hi Mike, to also include nodes that contain only incoming or outgoing edges, simply add the task "Reshape to long" and group on the resulting column in the datamanager after. As in this example: setting “Reshape to long” task in this way: After renaiming Wide_1 to Node, and grouping on that, you get this result: 1 Want to know more? Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.