(
id: string,
targetElParent: graphicUtil.Group,
graphicType: string,
elMap: ElementMap
)
| 402 | return el; |
| 403 | } |
| 404 | function createEl( |
| 405 | id: string, |
| 406 | targetElParent: graphicUtil.Group, |
| 407 | graphicType: string, |
| 408 | elMap: ElementMap |
| 409 | ): Element { |
| 410 | |
| 411 | const el = newEl(graphicType); |
| 412 | |
| 413 | targetElParent.add(el); |
| 414 | elMap.set(id, el); |
| 415 | inner(el).id = id; |
| 416 | inner(el).isNew = true; |
| 417 | |
| 418 | return el; |
| 419 | } |
| 420 | function removeEl( |
| 421 | elExisting: Element, |
| 422 | elOption: GraphicComponentElementOption, |
no test coverage detected
searching dependent graphs…