DiagramObject is the interface for the diagram object
ConnectorModel
returns the connector
NodeModel
returns the node