graphene
DESCRIPTION
Team Adith Tekur (System Architect/Tester) Neha Rastogi (System Integrator) Pooja Prakash (Language Guru) Sarah Panda (Project Manager) Sumiran Shah (System Architect/Tester). Graphene. So what’s the most efficient way to spam all your Facebook friends?. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/1.jpg)
GrapheneSo what’s the most efficient way to spam all your Facebook friends?
Team
Adith Tekur(System Architect/Tester)
Neha Rastogi(System Integrator)
Pooja Prakash(Language Guru)
Sarah Panda(Project Manager)
Sumiran Shah(System Architect/Tester)
![Page 2: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/2.jpg)
graphene>why(); Web 2.0. Cloud. Big Data. Social Networking.
Need to analyze common patterns, find trends
Useful for advertisers, market researchers, beginner programmers who just need another language with easy to use graph interfaces
![Page 3: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/3.jpg)
graphene>what();
Graphene is: Dynamically typed Interpreted Concise High level
Graphene enables users to perform common and complex graph manipulations on user defined or imported data
Graphene features a powerful visualization library to display graphs or input them manually
Graphene can be invoked in a REPL to perform quick, incremental operations
![Page 4: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/4.jpg)
graphene>sample();
Define a type of node of type person and read file dump
User function to find the node with max
degree from a graph
Return maxnode variable
List type
Node removal operator
Visualize!
![Page 5: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/5.jpg)
graphene>how();
Flow diagram
![Page 6: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/6.jpg)
graphene>how();
Compiler and supporting architecture
![Page 7: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/7.jpg)
graphene>write();
No main function. Script is executed line by line
Dynamically typed data
Specialized Graph and Node data types and operations
Features basic constructs such as if, for, foreach, while, functions
More advanced constructs such as multiple return arguments, lambdas(first class functions), inbuilt libraries for clustering nodes, graph manipulation operators
![Page 8: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/8.jpg)
graphene>write();
Getting your graph ready: Define a node type Create nodes Define a graph with edges
![Page 9: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/9.jpg)
graphene>write();
Or maybe import from file
• Or create a mesh and use edge/node operators
![Page 10: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/10.jpg)
graphene>write();
Or, just ask the user nicely to do it for you
![Page 11: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/11.jpg)
graphene>write();
Add edges by lookup, by id
Removing nodes
Display the program state
Display a particular graph
Overlay the output with a nodes in a particular list of nodes as highlighted
![Page 12: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/12.jpg)
graphene>write();
Node and Edge operations
![Page 13: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/13.jpg)
graphene>write();
User defined functions
• Lambdas
![Page 14: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/14.jpg)
graphene>demo();
![Page 15: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/15.jpg)
graphene>develop();
v/s
![Page 16: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/16.jpg)
graphene>cross_platform();
![Page 17: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/17.jpg)
graphene>run();
Bash Script to call the compiler in different modes
Modes include debugging mode, regression testing mode.
Run with default arguments
Run with debugging information
Run with a file input
Run the help manual
![Page 18: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/18.jpg)
graphene>run();
Run the test with default arguments
Run the tests independently
Run test number 23
![Page 19: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/19.jpg)
graphene>manage();
![Page 20: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/20.jpg)
graphene>test();
![Page 21: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/21.jpg)
graphene>test();
Testing framework included tests which consists of the test code and expected output.
Extensive tests to check all the basic as well as new constructs.
Basic constructs include arithmetic, logical, control flow, lists, functions, error handling
New constructs include lamda functions, node property, clustering.
![Page 22: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/22.jpg)
graphene> exit();
What worked: Impeccable rigor in design,implementation and testing
standards Learning to be proficient at git and using it as more
than a dumb remote disk
What we could have improved Better definition of scope early on Better prioritization of feature implementations
For more details: https://github.com/Adith/Graphene
![Page 23: Graphene](https://reader035.vdocuments.site/reader035/viewer/2022070408/568143e7550346895db06dd8/html5/thumbnails/23.jpg)