Permalink
Browse files

Fixing edge type for gexf parser plugin.

The type property had different meaning for gexf and sigma, type is now renamed to direction.
Fix #544
  • Loading branch information...
1 parent f301172 commit a8c9cdb03479f190081f449939aab59d20ffbefb @Yomguithereal Yomguithereal committed Apr 17, 2015
Showing with 4 additions and 0 deletions.
  1. +4 −0 plugins/sigma.parsers.gexf/sigma.parsers.gexf.js
@@ -67,6 +67,10 @@
// Weight over viz.thickness?
obj.size = obj.weight;
+
+ // Changing type to be direction so it won't mess with sigma's naming
+ obj.direction = obj.type;
+ delete obj.type;
}
// Update the instance's graph:

0 comments on commit a8c9cdb

Please sign in to comment.