/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. #import <Cocoa/Cocoa.h>
  7. @class GDNode;
  8. @interface GDEdge : NSObject {
  9. GDNode *sourceNode;
  10. GDNode *destinationNode;
  11. }
  12. - (id)initWithSourceNode:(GDNode *)aNode
  13. destinationNode:(GDNode *)bNode;
  14. - (GDNode *)sourceNode;
  15. - (GDNode *)destinationNode;
  16. @end