Model Graphics@2{ Node Rect{ x : int; y: int; rotation: double = 0; refsTo : Node; width@1 : int; height@1: int; } } //--------------------------------------------------------------------------- Model People@1{ Node Person{ name : String; } } //--------------------------------------------------------------------------- Graphics CS imports People { Rect r1 { width = 10; height = 20; refsToPerson : Person {refsTo}; } } //--------------------------------------------------------------------------- People p1{ Person Juan{ name="Juan"; } } //--------------------------------------------------------------------------- CS gp1 imports p1{ r1 Juan1 { x = 10; y = 10; rotation = 90; refsToPerson = Juan; } }