style

style.assignTag

assignTag(tagId: string, nodeIds: string[]): void

Assign an existing tag to a list of nodes. Undoable via AssignTagCommand.

tagIdstringId of the tag entity.
nodeIdsstring[]Node ids to receive the tag.

Returns: void