* Set a property of the element. * @param key The key of the property. * @param value The value of the property.
(key: TKey, value: TProperties[TKey])
| 831 | * @param value The value of the property. |
| 832 | */ |
| 833 | public set<TKey extends keyof TProperties>(key: TKey, value: TProperties[TKey]): void { |
| 834 | this.#graph.updateProperty(this.id, key as string, value); |
| 835 | } |
| 836 | |
| 837 | /** |
| 838 | * A string representation of the element. |
nothing calls this directly
no test coverage detected