fcose library

Classes

AlignmentConstraint
IDs sharing an entry in vertical get the same x coordinate; IDs sharing an entry in horizontal get the same y coordinate.
CompoundGraphManager
layout-base-style owner graph and inclusion-tree operations.
ConstraintHandler
DAG-based enforcement for fCoSE fixed, alignment, and relative constraints.
FcoseEdge
An undirected graph edge.
FcoseGraph
A validated compound graph suitable for layout.
FcoseLayout
Pure Dart implementation of the fCoSE spectral + compound spring layout.
FcoseNode
A node accepted by the framework-neutral fCoSE layout API.
FcoseOptions
Configuration corresponding to the public options of cytoscape-fcose 2.2.0.
FcoseResult
Immutable output of an fCoSE layout run.
FixedNodeConstraint
Offset
A framework-independent two-dimensional vector or point.
Rect
An axis-aligned rectangle represented by its top-left corner and size.
RelativePlacementConstraint
SpectralInitializer
Sampled pivot-distance spectral initializer used by fCoSE.
SpectralResult
Xorshift32
Deterministic xorshift32 generator with JavaScript-compatible 32-bit steps.

Functions

writeBoundaryIntersection(Rect source, Rect target, Float64List out) → void
Writes the points where the line joining the centers of source and target leaves source and enters target into out, as [sourceX, sourceY, targetX, targetY].

Typedefs

EdgeElasticityResolver = double Function(FcoseEdge edge)
IdealEdgeLengthResolver = double Function(FcoseEdge edge)
NodeRepulsionResolver = double Function(FcoseNode node)
TilingComparator = int Function(String firstNodeId, String secondNodeId)
TilingPaddingResolver = double Function()