functional handler for json data
ordering of labels always in front of nodes
all ui and vis handlers functional