Force layout with vertical gravity.
Automatic generation of flat network structure with the Voronoi algorithm.
Or alternatively, use the GitHub GraphQL Explorer
- Install GraphiQL
- Create a Personal Access Token: Give it access to
repo,gist,notificationanduser(or less, if you want). - Set the endpoint to
https://api.github.com/graphql, the method toPOSTand add the following header:
Babel is a tool to transform code. It’s most commonly used to transform “modern” JavaScript into code that’s compatible with older browsers. Babel allows us, for example, to use arrow functions (ES2015) during development and have them transformed to anonymous functions at build-time.
// In
[1, 2, 3].map(n => n * n);
// Out
[1, 2, 3].map(function(n) { return n * n; });
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // In | |
| [1, 2, 3].map(n => n * n); | |
| // Out | |
| [1, 2, 3].map(function(n) { return n * n; }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| type: "VariableDeclaration", | |
| declarators: [ | |
| { | |
| type: "VariableDeclarator", | |
| id: { | |
| type: "Identifier", | |
| name: "square" | |
| }, | |
| init: { |