Skip to content

Commit

Permalink
Finalized readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anvaka committed Jan 8, 2014
1 parent ad5cdbb commit 78e704c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/pixi.js/04 - Individual Node Events/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,8 @@ graph coordinates, and update node's position via `setNodePosition()`:
var graphPos = getGraphCoordinates(mousePos.x, mousePos.y);
layout.setNodePosition(nodeUnderCursor.id, graphPos.x, graphPos.y);
```

The rest is remained to layout algorithm. It will update positions of other nodes
according to current situation, and PIXI's renderer will reflect this on stage.

Once again, you can play with final results here: **[Node Interactions](http://anvaka.github.io/ngraph/examples/pixi.js/04%20-%20Individual%20Node%20Events/)**

0 comments on commit 78e704c

Please sign in to comment.