# TOC
- [test/graph.js](#testgraphjs)
- [It colorizes the graph based on execution results](#it-colorizes-the-graph-based-on-execution-results)
# test/graph.js
It throws an error if you try to run a non-existing vertex.
It runs a vertex if no dependencies are defined.
It does not run a vertex if it has unfulfilled dependencies.
It runs dependent vertices on completion of a vertex's action.
It ensures dependencies state is available before running dependents.
It gives dependent vertices a state including their dependencies' results.
It throws an error if a vertex throws an error.
It runs a vertex only once.
It can convert to a string representing the graph in graphviz format.
## It colorizes the graph based on execution results
It throws an error if a sub-step fails.
It adds the right colors according to execution.
ok - It colorizes the graph based on execution results
ok - test/graph.js
----------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files | 100 | 100 | 100 | 100 | |
graph.js | 100 | 100 | 100 | 100 | |
----------|----------|----------|----------|----------|-------------------|