PathGraphFactoryExtension<V, E> extension

on

Methods

path({required int vertexCount}) Graph<V, E>

Available on GraphFactory<V, E>, provided by the PathGraphFactoryExtension extension

Creates a Graph that forms a linear path.