almende / vis

⚠️ This project is not maintained anymore! Please go to https://github.com/visjs
7.85k stars 1.48k forks source link

Add support for graphviz edge "dir" #4202

Open bewing opened 5 years ago

bewing commented 5 years ago

If the "dir" attribute is present in the edge, disable both arrows, and selectively re-enable them based on dir.

bewing commented 5 years ago

It appears the only DOT-specific documentation is at https://github.com/almende/vis/blob/develop/docs/network/index.html#L1568 -- I did add some examples to https://github.com/almende/vis/blob/develop/examples/network/data/dotLanguage/dotEdgeStyles.html -- perhaps just add some explicit language there specifying the mapping from DOT dir to vis.js arrows?