const interiorStretchModel = new InteriorStretchLabelModel({ insets: 3 })
graph.setLabelLayoutParameter(
label1,
interiorStretchModel.createParameter('north')
)
const exteriorLabelModel = new ExteriorLabelModel({ insets: 10 })
graph.setLabelLayoutParameter(
label2,
exteriorLabelModel.createParameter('south')
)
graph.setLabelLayoutParameter(
edgeLabel,
NinePositionsEdgeLabelModel.CENTER_ABOVE
)