Skip to content

A fork of the GraphWalker project extended with the functionality of predefined test paths.

License

Notifications You must be signed in to change notification settings

cs8azg/graphwalker-predefined-path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java CI with Maven CodeQL Maven Central

GraphWalker

Documentation on http://graphwalker.org/

Get the source code and build all modules

git clone https://github.com/GraphWalker/graphwalker-project.git
cd graphwalker-project
mvn install

Build the stand command-line tool

mvn package -pl graphwalker-cli -am

The jar is in:

graphwalker-cli/target/graphwalker-cli-<VERSION>.jar

Run it like:

java -jar graphwalker-cli/target/graphwalker-cli-<VERSION>.jar

Build Studio

mvn package -pl graphwalker-studio -am

The jar is in:

graphwalker-studio/target/

Run it like:

java -jar graphwalker-studio/target/graphwalker-studio-<VERSION>.jar

===================

Predefined Path

This fork of the GraphWalker project enables the user to define an edge sequence in the input graph, along which the machine should execute.

Graph input format

Currently a predefined path can only be specified in JSON GW3 input graphs.

To define an edge sequence, the model has to contain an array element called predefinedPathEdgeIds containing the edge IDs in the sequence.

The generator and stop condition has to be specified in the generator element.

Example:

{
    "models": [
        {
            "generator": "predefined_path(predefined_path)",
            ...
            "edges": [
                { "id": "e0", ... },
                { "id": "e1", ... },
                { "id": "e2", ... }
            ],
            "predefinedPathEdgeIds": [ "e0", "e1", "e2", "e0" ]
        }
    ]
}

About

A fork of the GraphWalker project extended with the functionality of predefined test paths.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published