Difference between revisions of "XCSG:ModelElement"
From AtlasWiki
(→Specification: moving sourceCorrespondence to node for the moment, we have single SC for nodes and lists for edges at the moment, not a unified model) |
|||
Line 1: | Line 1: | ||
An XCSG ModelElement is either a [[Node]] or [[Edge]] in an XCSG graph. | An XCSG ModelElement is either a [[Node]] or [[Edge]] in an XCSG graph. | ||
− | + | XCSG model elements have an <code>id</code> attribute, which uniquely identifies that element; the <code>id</code> attribute should enable those familiar with the analyzer which produced that node or edge to determine whether the graph already contains a node or edge representing a particular entity or relationship. No two model elements with equal IDs can exist in the same graph, to ensure each modeled element or relationship has a single representation in the graph. | |
− | + | ||
− | + | ||
== Specification == | == Specification == |
Revision as of 11:02, 11 April 2014
An XCSG ModelElement is either a Node or Edge in an XCSG graph.
XCSG model elements have an id
attribute, which uniquely identifies that element; the id
attribute should enable those familiar with the analyzer which produced that node or edge to determine whether the graph already contains a node or edge representing a particular entity or relationship. No two model elements with equal IDs can exist in the same graph, to ensure each modeled element or relationship has a single representation in the graph.
Specification
Metaclass | ModelElement |
---|---|
Description | An abstraction drawn from the system being modeled. |
Direct Subkinds | Edge, Node |
---|
Attribute | id |
---|---|
Description | The ID that uniquely identifies the model element. |
Required | Yes |