@antv/layout
Version:
graph layout algorithm
30 lines (24 loc) • 681 B
JavaScript
import { __require as require_getMapData } from './_getMapData.js';
var _mapCacheGet;
var hasRequired_mapCacheGet;
function require_mapCacheGet () {
if (hasRequired_mapCacheGet) return _mapCacheGet;
hasRequired_mapCacheGet = 1;
var getMapData = require_getMapData();
/**
* Gets the map value for `key`.
*
* @private
* @name get
* @memberOf MapCache
* @param {string} key The key of the value to get.
* @returns {*} Returns the entry value.
*/
function mapCacheGet(key) {
return getMapData(this, key).get(key);
}
_mapCacheGet = mapCacheGet;
return _mapCacheGet;
}
export { require_mapCacheGet as __require };
//# sourceMappingURL=_mapCacheGet.js.map