ym-study project

record weight and write graph