class in UnityEditor.Experimental.GraphView
A rectangular badge, usually attached to another visual element.
| alignment | Relative alignment between the badge and its target. The alignment will influence icon and tip position. |
| badgeText | Text displayed next to the badge on mouse hover. |
| distance | Distance between the badge and its target element. |
| target | Target element to which this badge is attached. |
| visualStyle | The visual style for the badge. Built-in values are "error" and "comment". |
| IconBadge | Creates a basic comment badge. |
| AttachTo | Attaches this badge to another element. |
| Detach | Detaches this badge from its target. |
| CreateComment | Creates an IconBadge with the "comment" visual style. |
| CreateError | Creates an IconBadge with the "error" visual style. |