Added custom weighted edge. Closes #2
Added graph part. Closes #4