Add direct diagram connections, movable ports, and contextual authoring
This commit is contained in:
@@ -1648,6 +1648,15 @@ fn adding_bend_between_close_ports_stays_outside_owner_clearance() {
|
||||
);
|
||||
assert_eq!(
|
||||
p.diagrams[&diagram].routes[0].waypoints,
|
||||
vec![Position { x: 242., y: 192. }]
|
||||
vec![Position {
|
||||
x: 242.,
|
||||
y: view
|
||||
.ports
|
||||
.iter()
|
||||
.find(|port| p.elements[&port.element].parent == Some(a))
|
||||
.unwrap()
|
||||
.position
|
||||
.y
|
||||
}]
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user