[create_graph_json] Infer units from child nodes

Including marking some as having 'mixed' units, which is useful for the
frontend
[html] Make frontend aware of units