Companion

Contains methods to generate a GraphStreamSupport.

Functions

Link copied to clipboard
fun <T, P : Position<P>> generateGraphStream(environment: Environment<T, P>, nodeCount: Int, offsetX: Double = 0.0, offsetY: Double = 0.0, offsetZ: Double = 0.0, zoom: Double = 1.0, generatorName: String = "EuclideanRandom", uniqueId: Long = 0, layoutQuality: Double = 1.0, is3D: Boolean = false, vararg parameters: Any): GraphStreamSupport<T, P>

Given an environment, the nodeCount to be displaced, the GraphStream's generatorName and the parameters for its constructor, an identifier uniqueId, a layoutQuality, and possibly a flag to decide whether or not to compute z-dimensions is3D.