object "~#diner : Diner" as diner1 {
}
object "~#table1 : Table" as table1 {
num = 1
capacity = 4
}
object "~#table2 : Table" as table2 {
num = 2
capacity = 4
}
diner1 --> table1: tables
diner1 --> table2: tables
object "~#diner : Diner" as diner2 {
}
object "~#table3 : Table" as table3 {
num = 3
capacity = 6
}
diner2 --> table3: tables
diner1 ..> diner2: mergeTables(~#table1, ~#table2, 2) |