yFiles for HTML Demos Label Style yFiles Demos
Rectangle Edge LabelA second line of sample text.Rounded Edge LabelA second line of sample text.Hexagon Edge LabelA second line of sample text.Pill Edge LabelA second line of sample text.Rotated RectangleRotated Rounded RectangleRotated HexagonRotated PillEdge Labelwith vertical textalignment at bottomEdge Labelwith vertical textalignment at topEdge Labelwith vertical centerand horizontal lefttext alignmentEdge Labelwith vertical bottomand horizontal righttext alignmentRectangle Node LabelRounded Node LabelHexagon Node LabelPill Node LabelWrapped and …Un-wrapped but clipped label textUn-wrapped and un-clipped label text