typescript-uml icon indicating copy to clipboard operation
typescript-uml copied to clipboard

Missed relationships for arrays

Open winuxue opened this issue 7 years ago • 0 comments

If your .ts file has an array: the relationship between them is not being created.

Per example:

interface Invoice {
   detail: InvoiceItem[]
}
interface InvoiceItem {
}

write this:

interface Invoice{
  +detail : InvoiceItem[]
}

interface InvoiceItem{
}

missing this line:

Invoice --{ InvoiceItem

winuxue avatar Dec 05 '18 00:12 winuxue