Git Product home page Git Product logo

graph-test-cases's Introduction

Graph Test Case Generator

An app to generate graph problems test cases by drawing the graph

How it works

  1. Enter the number of nodes and click on Generate Graph button.

  2. Choose whether it is a directed grpah or undirected.

  3. Drag and drop nodes to adjust their position.

  4. To add an edge, click on the first node then click on the second node.

  5. To delete an edge, follow the same above step.

    **Note: ** in Case of directed grpahs you have to click on the source node then on the destination node (in order).

  6. After finishing adding all the edges, click on Generate Case button

  7. The test case follows the typical format in all graph problems:

    • The first line consists on two integers, (n) & (m), where (n) is the number of nodes and (m) is the number of edges.
    • (m) lines follow, each containing two integers (i) & (j), meaning that there is an edge between node (i) and node (j).
  8. The app currently supports unweighted graphs only.

graph-test-cases's People

Contributors

mostafa-abdullah avatar hazemsamir avatar

Watchers

Kareem Mokhtar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.