|
|
@ -29,6 +29,9 @@ function parseGephi(gephiJSON, optionsObj) { |
|
|
|
edge['attributes'] = gEdge.attributes; |
|
|
|
edge['label'] = gEdge.label; |
|
|
|
edge['title'] = gEdge.attributes !== undefined ? gEdge.attributes.title : undefined; |
|
|
|
if (gEdge['type'] === 'Directed') { |
|
|
|
edge['arrows'] = 'to'; |
|
|
|
} |
|
|
|
// edge['value'] = gEdge.attributes !== undefined ? gEdge.attributes.Weight : undefined;
|
|
|
|
// edge['width'] = edge['value'] !== undefined ? undefined : edgegEdge.size;
|
|
|
|
if (gEdge.color && options.inheritColor === false) { |
|
|
|