Skip to content

0.14.0

Pre-release
Pre-release

Choose a tag to compare

@moaxcp moaxcp released this 08 May 01:00
· 198 commits to master since this release

Just as in 0.13.0, where the config closure was removed from VertexSpec, this release removes the config closure from
EdgeSpec. Traits can be added and configured for an Edge all within the same closure.

graph.with {
    edge (step1, step2) {
        traits Mapping
        message = "hello from edge between $one and $two"
        queue = [] as LinkedList
        traits Weight
        weight { queue.size() }
    }
}

As in 0.13.0 this represents a major step in finalizing the edge api.