示例#1
0
func (v *mappingView) connectionLinksUnmapped(c graph.ConnectIf) bool {
	for _, ch := range v.unmapped.(*graph.ProcessMapping).Children {
		name := ch.(graph.NamedBox).Name()
		if name == c.From().Name() || name == c.To().Name() {
			return true
		}
	}
	return false
}
示例#2
0
func (v *mappingView) repaintConnection(c graph.ConnectIf) {
	v.drawScene(c.BBox())
}
示例#3
0
func (v *signalGraphView) repaintConnection(c graph.ConnectIf) {
	v.drawScene(c.BBox())
}