gravitationalMass method

num gravitationalMass(
  1. ForceDirectedVertex v
)

Returns the mass of the vertex, the value of ForceDirectedVertex#mass if it's a number, or else the value of #defaultGravitationalMass. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {ForceDirectedVertex} v @return {number}

Implementation

_i2.num gravitationalMass(_i3.ForceDirectedVertex v) => _i4.callMethod(
      this,
      'gravitationalMass',
      [v],
    );