PageRenderTime 17ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/GraphDraw_Mixed/GDEdge.h

http://github.com/jsyedidia/nugraphdraw
C Header | 20 lines | 11 code | 4 blank | 5 comment | 0 complexity | b4f2634331c8a64fd266a63075cdb242 MD5 | raw file
 1//  Created by Jonathan Yedidia on 5/31/08.
 2//  Copyright 2008. All rights reserved.
 3//  Objective-C code based on Aaron Hillegass'
 4//  "GraphLaughs" PyObjC application, available online at
 5//  http://weblog.bignerdranch.com/pythonex/GraphLaughs.tgz
 6
 7#import <Cocoa/Cocoa.h>
 8@class GDNode;
 9
10@interface GDEdge : NSObject {
11    GDNode *sourceNode;
12    GDNode *destinationNode;
13}
14
15- (id)initWithSourceNode:(GDNode *)aNode
16         destinationNode:(GDNode *)bNode;
17- (GDNode *)sourceNode;
18- (GDNode *)destinationNode;
19
20@end