//style style.setNodeBadge setNodeBadge(nodeId: string, badge: BadgeSpec): voidAssign a badge to a node. Pass null to remove the badge. Undoable via SetNodeBadgeCommand. nodeIdstringTarget node identifier.badgeBadgeSpecBadge spec, or null to clear.Returns: void style.setEdgeWidthstyle.setNodeCollect