package
0.0.0-20231102143828-eb15970857dc
Repository: https://github.com/pbrown12303/activecrl.git
Documentation: pkg.go.dev

# Functions

BuildCrlDiagramDomain builds the CrlDiagram concept space and adds it to the uOfD.
GetAbstractionDisplayLabel is a convenience function for getting the AbstractionDisplayLabel value for a DiagramElement.
GetBGColor is a convenience function for getting the backgound color value of a DiagramElement.
GetDisplayLabel is a convenience function for getting the DisplayLabel value of a DiagramElement.
GetElementPointer returns the elementPointer for the concept if one exists.
GetFirstElementRepresentingConcept returns the first diagram element that represents the indicated concept.
GetFirstElementRepresentingConceptAbstractPointer returns the first diagram element that represents the indicated concept's AbstractPointer.
GetFirstElementRepresentingConceptElementPointer returns the first diagram element that represents the indicated concept's ElementPointer.
GetFirstElementRepresentingConceptID returns the first diagram element that represents the indicated concept.
GetFirstElementRepresentingConceptIDAbstractPointer returns the first diagram element that represents the indicated concept's AbstractPointer.
GetFirstElementRepresentingConceptIDElementPointer returns the first diagram element that represents the indicated concept's ElementPointer.
GetFirstElementRepresentingConceptIDOwnerPointer returns the first diagram element that represents the indicated concept's OwnerPointer.
GetFirstElementRepresentingConceptIDRefinedPointer returns the first diagram element that represents the indicated concept's RefinedPointer.
GetFirstElementRepresentingConceptOwnerPointer returns the first diagram element that represents the indicated concept's OwnerPointer.
GetFirstElementRepresentingConceptRefinedPointer returns the first diagram element that represents the indicated concept's RefinedPointer.
GetLineColor is a convenience function for getting the LineColor value of a DiagramElement.
GetLinkSource is a convenience function for getting the source concept of a link.
GetLinkSourceReference is a convenience function for getting the source reference of a link.
GetLinkTarget is a convenience function for getting the target concept of a link.
GetLinkTargetReference is a convenience function for getting the target reference of a link.
GetNodeHeight is a convenience function for getting the Height value of a node's position.
GetNodeWidth is a convenience function for getting the Width value of a node's position.
GetNodeX is a convenience function for getting the X value of a node's position.
GetNodeY is a convenience function for getting the X value of a node's position.
GetOwnerPointer returns the ownerPointer for the concept if one exists.
GetReferencedModelConcept is a function on a CrlDiagramNode that returns the model element represented by the diagram node.
Int26_6ToFloat converts a fixed point 26_6 integer to a floating point number.
IsDiagram returns true if the supplied element is a CrlDiagram.
IsDiagramAbstractPointer returns true if the supplied element is a CrlDiagramAbstractPointer.
IsDiagramElement returns true if the supplied element is a CrlDiagramElement.
IsDiagramElementPointer returns true if the supplied element is a CrlDiagramElementPointer.
IsDiagramLink returns true if the supplied element is a CrlDiagramLink.
IsDiagramNode returns true if the supplied element is a CrlDiagramNode.
IsDiagramOwnerPointer returns true if the supplied element is a CrlDiagramOwnerPointer.
IsDiagramPointer returns true if the supplied element is a CrlDiagramPointer.
IsDiagramReferenceLink returns true if the supplied element is a CrlDiagramReferenceLink.
IsDiagramRefinedPointer returns true if the supplied element is a CrlDiagramRefinedPointer.
IsDiagramRefinementLink returns true if the supplied element is a CrlDiagramRefinementLink.
IsDisplayLabel returns true if the supplied Literal is the DisplayLabel.
IsModelReference returns true if the supplied element is a ModelReference.
NewDiagram creates a new diagram.
NewDiagramAbstractPointer creates a new DiagramAbstractPointer.
NewDiagramElementPointer creates a new DiagramElementPointer.
NewDiagramNode creates a new diagram node.
NewDiagramOwnerPointer creates a new DiagramOwnerPointer.
NewDiagramReferenceLink creates a new diagram link to represent a reference.
NewDiagramRefinedPointer creates a new DiagramRefinedPointer.
NewDiagramRefinementLink creates a new diagram link.
SetAbstractionDisplayLabel is a function on a CrlDiagramNode that sets the abstraction display label of the diagram node.
SetBGColor is a function on a CrlDiagramNode that sets the background color for the diagram element.
SetDisplayLabel is a function on a CrlDiagramNode that sets the display label of the diagram element.
SetLineColor is a function on a CrlDiagramElement that sets the line color for the diagram element.
SetLinkSource is a convenience function for setting the source concept of a link.
SetLinkTarget is a convenience function for setting the target concept of a link.
SetNodeHeight is a function on a CrlDiagramNode that sets the height of the diagram node.
SetNodeWidth is a function on a CrlDiagramNode that sets the width of the diagram node.
SetNodeX is a function on a CrlDiagramNode that sets the x of the diagram node.
SetNodeY is a function on a CrlDiagramNode that sets the y of the diagram node.
SetReferencedModelConcept is a function on a CrlDiagramNode that sets the model element represented by the diagram node.

# Constants

IconSize defines the height and width of icons.
NodeLineWidth is the width of the line bordering the node image.
NodePadWidth is the width of the padding surrounding the icon, displayLabel, and abstractionDisplayLabel.

# Variables

CrlDiagramAbstractPointerURI identifies the Abstract of an Element represented as a link.
CrlDiagramAnchoredTextAnchorXURI identifies the x coordinate of the anchored text anchor point.
CrlDiagramAnchoredTextAnchorYURI identifies the y coordinate of the anchored text anchor point.
CrlDiagramAnchoredTextOffsetXURI identifies the x offset of the anchored text anchor point.
CrlDiagramAnchoredTextOffsetYURI identifies the y offset of the anchored text anchor point.
CrlDiagramAnchoredTextURI identifies the concept of an Anchored Text.
CrlDiagramAnchoredTextVisibleURI identifies the boolean indicating whether the anchored text is presently viewable.
CrlDiagramDomainURI identifies concept space containing all concepts related to the CrlDiagram.
CrlDiagramElementAbstractionDisplayLabelURI identifies the abstraction display label concept to be used when displaying the element.
CrlDiagramElementBGColorURI identifies the background color to be used when displaying the element.
CrlDiagramElementDisplayLabelURI identifies the display label concept to be used when displaying the element.
CrlDiagramElementLineColorURI identifies the line color to be used when displaying the element.
CrlDiagramElementModelReferenceURI identifies the reference to the model element represented by the element.
CrlDiagramElementPointerURI identifies the element pointer of a Reference represented as a link.
CrlDiagramElementURI identifies the CrlDiagramElement concept.
CrlDiagramHeightURI identifies the CrlDiagramHeight concept.
CrlDiagramLinkAbstractionDisplayLabelURI identifies the anchored text used as the abstraction label on a link.
CrlDiagramLinkDisplayLabelURI identifies the anchored text being used as the display label on a link.
CrlDiagramLinkMultiplicityURI identifies the anchored text used to display multiplicity.
CrlDiagramLinkSourceURI identifies the concept that is the source of the link.
CrlDiagramLinkTargetURI identifies the concept that is the target of the link.
CrlDiagramLinkURI identifies the CrlDiagramLink concept.
CrlDiagramNodeAbstractionDisplayLabelURI identifies the abstraction display label concept to be used when displaying the element.
CrlDiagramNodeDisplayLabelYOffsetURI identifies the Y offset for the display label within the node.
CrlDiagramNodeHeightURI identifies the height of the node.
CrlDiagramNodeURI identifies the CrlDiagramNode concept.
CrlDiagramNodeWidthURI identifies the width of the node.
CrlDiagramNodeXURI identifies the X coordinate of the node.
CrlDiagramNodeYURI identifies the Y coordinate of the node.
CrlDiagramOwnerPointerURI identifies the owner of an Element represented as a link.
CrlDiagramPointerURI identifies a pointer represented as a link.
CrlDiagramPrefix is the prefix for all URIs related to CrlDiagram.
CrlDiagramReferenceLinkURI identifies the Reference represented as a link in the diagram.
CrlDiagramRefinedPointerURI identifies the refined element of a Refinement represented as a link.
CrlDiagramRefinementLinkURI identifies the Refinement represented as a link in the diagram.
CrlDiagramURI identifies the CrlDiagram concept.
CrlDiagramWidthURI identifies the CrlDiagramWidth concept.