On Dec 12, 2009, at 16:58:45, Kyle Sluder wrote: > On Sat, Dec 12, 2009 at 4:30 PM, Rick Mann <rm...@latencyzero.com> wrote: >> Hi. I'm trying to set up a model for a Node and a Segment. A Segment exists >> between Nodes. Each Segment has a node1 and node2 attribute, and each Node >> can have multiple Segments. I don't seem to be able to model this >> relationship; I can have either node1 with an inverse of segments, or node >> 2, but not both. > > Segment: > head ->> Node > tail ->> Node > > Node: > segHeads ->> Segment > segTails ->> Segment > > This keeps your directionality.
Thanks. Yeah, I thought of this approach, but it seems a little clunky, having to check both segHeads & segTails each time I want all segments on a Node. But I'll keep it in mind. Thanks! -- Rick _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com