ContainerAttachment
open class ContainerAttachment : Attachment
Encapsulates attachment information for a container. This class overrides Attachment.
-
Initializes a new ContainerAttachment with the specified container and child node.
Declaration
Swift
public init(container: DiagramItem, childNode: DiagramNode)
Parameters
container
The DiagramItem, which serves as a container.
childNode
The DiagramNode, which is child.
Return Value
The newly created ContainerAttachment object.
-
Removes the child node from the container.
Declaration
Swift
open override func detach()
-
Overrides Attachment.updateFromMaster.
Declaration
Swift
open override func updateFromMaster()