package layoutgraph

import 

// Label is the label state attached to a layout node or edge.
type Label struct {
	Text     string
	Position label.Position
	Width    float64
	Height   float64

	positionFixed bool
}

// PositionFixed reports whether Position was supplied by the caller and must
// be preserved by automatic label placement.
func ( *Label) () bool {
	return .positionFixed
}

// FixPosition marks Position as supplied by the caller.
func ( *Label) () {
	.positionFixed = true
}