package layoutgraph

import 

// Icon is the icon-placement state attached to a layout node.
type Icon struct {
	Position label.Position

	positionFixed bool
}

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

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