MDS Layout

Classical MDS(Multidemensional Scaling)is an algorithm for high dimensional data projection. Relational data layout problem can be regarded as projecting high dimensional data onto a 2D visual space.

Usage

As the demo below, you can deploy it in layout while instantiating Graph. it can also be used for Subgraph Layout. By tuning the parameters, you can adjust the edge length.

基本 MDS 布局

center

Type: Array
Example: [ 0, 0 ]
Default: The center of the graph
Required: false
Explanation: The center of the layout

linkDistance

Type: Number
Default: 50
Required: false
Explanation: Edge length