GraphStreamDeployment

class GraphStreamDeployment<P : Position<P>>(createLinks: Boolean, graphStreamSupport: GraphStreamSupport<*, P>) : Deployment<P> (source)

A deployment based on a GraphStream graph.

Constructors

Link copied to clipboard
constructor(environment: Environment<*, P>, randomGenerator: RandomGenerator, nodeCount: Int, offsetX: Double = 0.0, offsetY: Double = 0.0, zoom: Double = 1.0, layoutQuality: Double = 1.0, createLinks: Boolean = true, generatorName: String, vararg parameters: Any)

Builds a new GraphStream-based deployment, given the nodeCount, whether or not the arcs of such graph shoud be links (createLinks), the generatorName (must be the name of a subclass of org.graphstream.algorithm.generator.BaseGenerator), and its parameters.

constructor(createLinks: Boolean, graphStreamSupport: GraphStreamSupport<*, P>)

Functions

Link copied to clipboard
open fun forEach(p0: Consumer<in P>)
Link copied to clipboard
open override fun <T> getAssociatedLinkingRule(): LinkingRule<T, P>?

The LinkingRule associated with this GraphStreamDeployment, or null if the deployment has been created without static linking.

Link copied to clipboard
open operator override fun iterator(): MutableIterator<P>
Link copied to clipboard
Link copied to clipboard
open override fun stream(): Stream<P>