Module Simantics/Annotation

This module is undocumented. This is a list of its definitions.

copyAnnotationTypes :: Resource -> Resource -> <WriteGraph> ()

Copies annotation types from one model to another.

copyPossibleAnnotation :: Resource -> Resource -> Resource -> <WriteGraph> Maybe Resource

Copies annotation from resource to resource.

copyPossibleAnnotation2 :: Resource -> Resource -> Resource -> Resource -> <WriteGraph> ()

copyPossibleAnnotation2 source target annotationProperty entryType copies the annotation that source has through annotationProperty over to target, replacing the annotation target had before. As copyPossibleAnnotation, but the entries of the annotation are copied as well, each created as an instance of entryType.