parent child relationships within a part

Hi,

I'd like to create a network graph that shows the parent child relationships within a part (between features), kind of like a social graph. Does anyone know how to access that information via the API? I've found a way to do it on a part-to-part basis (using GetParents and GetChildren), but not between features within a part. The manual way to do this is to click on a feature and press F4.

Thanks.

SolidworksApi macros