Obtaining a component from ConnectedComponentModel

User 1129 | 1/22/2015, 10:17:10 AM

Given a ConnectedComponentsModel object, what is the most convenient way to obtain a certain component as a separate graph object?

I would like to see something like <code class="CodeInline">connectedcomponentmodel.getcomponent(componentid)</code>. What is the best way to do this right now?

Comments

User 1129 | 1/23/2015, 8:26:53 AM

Yes, this is how I did this, just was hoping to have a less verbose version