edgeAttributes
method
Back to Helios Network JS/WASM API
- Kind
- method
- Source
- src/js/HeliosNetwork.js:5612
Description
Defines or updates several edge attributes and returns the network for chaining.
Signature
Parameters
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
names | string[] | Attribute identifiers. | ||
valuesOrFn | Object|Array|function(Object, number, number, HeliosNetwork): (Array|Object) | Sources for each attribute. | ||
options | AttributeWriteOptions | optional | Optional type, dimension, and indexing controls. |
Returns
This network.
TypeHeliosNetworkNotes
Use this when edge attributes are loaded from edge-table rows or generated together. The helper keeps schema definition, value conversion, and version updates in one call.