These are current capabilities of the project:
- Show networkx graph in a visual view
- Apply community detection
- Show communities
- Load graphwalker json model and convert it to a networkx graph
- Generate test cases from graphwalker json model
- Python 3 or higher
- Virtual environment
- Create it with:
py -3 -m venv env
- Activate it with:
env\scripts\activate
- Install pip packages when the virtual environment is activated
- Create it with:
- Download Graphwalker Studio and Cli from official site and copy them to project root
- networkx => For graph operations
- numpy==1.19.3 => There is a bug in the latest numpy version (1.19.4)
- python-louvain => For community detection
- matplotlib
- pip install networkx
- pip install python-louvain
- pip install matplotlib
- pip install numpy==1.19.3
- Graphwalker cli is required to generate test cases. You can install graphwalker cli from the following page.
- The cli jar must be available in the root of the project. In the future, path option will be available.
- Java 8 or higher must be available in your system.
- Download GraphWalker studio jar from the official link
- Type
java -jar graphwalker-studio-4.*.jar
in the command line - Open a browser and use url:
http://localhost:9090/studio.html
- Create a model in Graphwalker studio
- Save it as a json file such as: LoginSignUpForm.json
- Load this json and convert it to a networkx graph
- Generate test cases and measure time
- Apply community detection and create multiple graphs
- Generate test cases and measure time