UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

6 lines (5 loc) 1.5 kB
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.32/esri/copyright.txt for details. */ import{_ as e}from"../chunks/tslib.es6.js";import o from"../core/Clonable.js";import t from"../core/JSONSupport.js";import{property as r}from"../core/accessorSupport/decorators/property.js";import"../core/has.js";import"../core/Logger.js";import"../core/RandomLCG.js";import{enumeration as i}from"../core/accessorSupport/decorators/enumeration.js";import{subclass as s}from"../core/accessorSupport/decorators/subclass.js";import{idealEdgeLengthTypeJsonMap as p}from"./enums.js";let a=class extends(o.ClonableMixin(t)){constructor(e){super(e),this.absoluteIdealEdgeLength=1,this.autoRepulsionRadius=!0,this.computationBudgetTime=2,this.idealEdgeLengthType="multiplier",this.multiplicativeIdealEdgeLength=1,this.repulsionRadiusMultiplier=1}};e([r({type:Number,range:{min:0,max:360},json:{write:!0}})],a.prototype,"absoluteIdealEdgeLength",void 0),e([r({type:Boolean,json:{write:!0}})],a.prototype,"autoRepulsionRadius",void 0),e([r({type:Number,json:{write:!1}})],a.prototype,"computationBudgetTime",void 0),e([i(p)],a.prototype,"idealEdgeLengthType",void 0),e([r({type:Number,range:{min:0,max:5},json:{write:!0}})],a.prototype,"multiplicativeIdealEdgeLength",void 0),e([r({type:Number,range:{min:1,max:99},json:{write:!0}})],a.prototype,"repulsionRadiusMultiplier",void 0),a=e([s("esri.linkChart.OrganicLayoutSettings")],a);const n=a;export{n as default};