set contents of constraints of relation panel, according to the diagnosis graph panel