
An example updated. Available in the repo (nml-examples/201207-groups-and-labels). Any comments are welcome. (btw. I've done few minor updatesin the RNC schema as well) Roman W dniu 2012-07-11 16:17, Freek Dijkstra pisze:
On 11-07-2012 16:06, Roman Łapacz wrote:
Bidirectional link is a Link (I see it as inheritance) so for pointing I think I can use Link element (but if it breaks a rule I can use BidirectionalLink for that, no problem) A Bidirectional Link is not a (special case of a) Link, it's a group of two (Unidirectional) Links. In the NML schema [1] there is no direct inheritance between the two, although both subclass a Network Object (but so does a Node).
(I would actually like a BidirectionalLink to be a Link, but all attempt I did failed in logic: things like "isSource" and "isSink" would be ambiguous in the direction. So I stopped trying for now.)
Freek
[1] https://forge.ogf.org/sf/docman/do/downloadDocument/projects.nml-wg/docman.r...