const interiorStretchModel = new StretchNodeLabelModel({ insets: 3 })
graph.setLabelLayoutParameter(
label1,
interiorStretchModel.createParameter('top')
)
const exteriorLabelModel = new ExteriorNodeLabelModel({ insets: 10 })
graph.setLabelLayoutParameter(
label2,
exteriorLabelModel.createParameter('bottom')
)
graph.setLabelLayoutParameter(
edgeLabel,
NinePositionsEdgeLabelModel.CENTER_ABOVE
)