Skip to content

Instantly share code, notes, and snippets.

@omorandi
omorandi / README.md
Last active December 10, 2015 22:18 — forked from vprtwn/README.md

Drag from an existing node to add a new node or link. Click to select/deselect nodes/links. Hit the DELETE key to remove the selected node or link. Drag to pan. Scroll to zoom.

Built with D3.js.

@omorandi
omorandi / gist:1626791
Created January 17, 2012 14:23 — forked from jaraen/gist:1626498
Shadow property in TiUIView.m
-(void)setShadow_:(id)args
{
if(args != nil)
{
self.layer.masksToBounds = NO;
if ([args objectForKey:@"shadowOffset"] != nil) {
CGPoint p = [TiUtils pointValue: [args objectForKey:@"shadowOffset"]];
CGSize shadowOffset = {p.x,p.y};