CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 05 Aug 2025 08:18:37 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20081204132848
location: https://web.archive.org/web/20081204132848/https://www.github.com/timburks/nugraphdraw/tree
server-timing: captures_list;dur=1.514455, exclusion.robots;dur=0.041418, exclusion.robots.policy;dur=0.019925, esindex;dur=0.025822, cdx.remote;dur=12.144102, LoadShardBlock;dur=291.740665, PetaboxLoader3.datanode;dur=62.316213, PetaboxLoader3.resolve;dur=90.818454
x-app-server: wwwb-app223
x-ts: 302
x-tr: 342
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app223; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Tue, 05 Aug 2025 08:18:38 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Thu, 04 Dec 2008 21:28:48 GMT
x-archive-orig-transfer-encoding: chunked
x-archive-orig-connection: close
x-archive-orig-set-cookie: _github_sess=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--be4d4fe64136ba4b5a9e8e7643f35a4e640dd18d; domain=.github.com; path=/; expires=Wed, 01 Jan 2020 08:00:00 GMT; HttpOnly
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 1566ms
x-archive-orig-etag: "1e50f5477d30d74726e2dbd04d1c0789"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-x_commoncrawl_parsesegmentid: 5277
x-archive-orig-x_commoncrawl_originalurl: https://www.github.com/timburks/nugraphdraw/tree
x-archive-orig-x_commoncrawl_urlfp: -1514266204209817386
x-archive-orig-x_commoncrawl_hostfp: -8801896244620822287
x-archive-orig-x_commoncrawl_signature: 1e50f5477d30d74726e2dbd04d1c0789
x-archive-orig-x_commoncrawl_crawlno: 1
x-archive-orig-x_commoncrawl_fetchtimestamp: 1228426128158
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
x-archive-orig-content-encoding: gzip
memento-datetime: Thu, 04 Dec 2008 13:28:48 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 04 Dec 2008 13:28:48 GMT", ; rel="memento"; datetime="Thu, 04 Dec 2008 13:28:48 GMT", ; rel="last memento"; datetime="Thu, 04 Dec 2008 13:28:48 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 1230903472675_1-c/1230903540170_1.arc.gz
server-timing: captures_list;dur=0.488808, exclusion.robots;dur=0.019001, exclusion.robots.policy;dur=0.009367, esindex;dur=0.011247, cdx.remote;dur=12.867216, LoadShardBlock;dur=239.740230, PetaboxLoader3.datanode;dur=194.251629, PetaboxLoader3.resolve;dur=159.967620, load_resource;dur=243.768970
x-app-server: wwwb-app223
x-ts: 200
x-tr: 540
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
timburks's nugraphdraw at master — GitHub
GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009! [ hide ]
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Fork of jsyedidia/nugraphdraw | |
Description: | A graph drawing application. An example PyObjC application re-written in Nu. Original by Aaron Hillegass, ported to Nu by Jonathan Yedidia. |
Clone URL: |
git://github.com/timburks/nugraphdraw.git
Give this clone URL to anyone.
git clone git://github.com/timburks/nugraphdraw.git
|
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Sat May 31 09:33:56 -0700 2008 | Initial commit [jsyedidia] |
![]() |
GraphDraw_Mixed/ | Sat May 31 15:37:34 -0700 2008 | Merge git://github.com/jsyedidia/nugraphdraw [timburks] |
![]() |
GraphDraw_Nu/ | Sat May 31 15:37:34 -0700 2008 | Merge git://github.com/jsyedidia/nugraphdraw [timburks] |
![]() |
README | Sat May 31 13:19:44 -0700 2008 | Minor edits. [jsyedidia] |
README
NuGraphDraw Jonathan Yedidia, May 31, 2008. This project is a port from PyObjC to Nu, with enhancements, of Aaron Hillegass' "GraphLaughs" application. Pre-requisites are Mac OS X Leopard and the Nu programming language, developed by Tim Burks and available at https://programming.nu. Build this application in XCode. "GraphLaughs" was described in the June 8, 2006 post of the Big Nerd Ranch weblog at https://weblog.bignerdranch.com. You can download the source at https://weblog.bignerdranch.com/pythonex/GraphLaughs.tgz. This type of application shows off some of the advantages of a dynamic language like Nu. One can let the user extend the application at run-time with his own scripts. Aaron wrote that "The Python bridge (PyObjC) is still a bit mysterious to me, but I can see that they have done a great job leveraging the dynamic nature of both languages to make it easy to work with." I believe the Nu version is a significant improvement over the PyObjC version. Nu and Objective-C can inter-operate in a completely seamless way, and there are no mysteries, because Nu was designed from the start to work with Cocoa and Objective-C. There are two versions of the application here. GraphDraw_Mixed is a mixed Nu and objective-C application, which demonstrates how Objective-C and Nu classes can be included in the same application, and inter-operate. This version is closer to Hillegass' original. GraphDraw_Nu, on the other hand, is written completely in Nu. I've also added some hooks for you to use in the Nu console (or the textView where you put your scripts.) You can call up the console with command-L. You can access the view with the global variable $view or access the graph with the global variable $graph. You can change the colors of the nodes, edges, or background, or change the size of the nodes or the width of the edges. For example, try this in the Nu console, after evaluating the initial script: ($view setNodeSize:20) ($view setEdgeColor:(NSColor greenColor)) The defaults, which can be found in main.nu, are: edgeColor: (NSColor whiteColor) nodeColor: (NSColor redColor) backgroundColor: (NSColor darkGrayColor) edgeWidth: 0.9 nodeSize: 6 Of course, it's even more fun to change the graph by re-writing the default script. Try changing some of the "magic numbers" like one or both of the 180's, the 300, or the 10. If you are interested in seeing more Cocoa applications written in Nu, go to the the git repository at git://github.com/timburks/cocoa-programming-with-nu.git, or look at other examples posted by Tim Burks at github.com or the examples that come bundled with Nu. TODO: Parens-matching in the scriptTextView. Better descriptions of script errors. If you are interested in fixing these problems, or otherwise improving the application, please fork the repository, then improve it, and then send me a pull request. Thanks, Jonathan Yedidia
This feature is coming soon. Sit tight!