Added weight param to YAML and ajusted diameter processing so it wont convert the context graph to undirected