LSE: support directed graphs (#41)