You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Save Network saves the data (attributes) in the same way as etworkX would. See below.
Actual behavior
The data is saved as such. Orange can't read what it saves (attributes not loaded properly). NetworkX can't read what Orange saves. Also, Orange can't read what NetworkX saves.
Additional info (worksheets, data, screenshots, ...)
While pajek doesn't have a documentation on its format (from what I know), it would be nice to have the format transferable between NetworkX and Orange. Or at the very least for Orange to properly read the data it saves.
The text was updated successfully, but these errors were encountered:
Networkx seems to allow arbitrary key-value pairs after nodes. In Orange, this would be represented as a Table, hence every key would become a variable, and variable types would be deducted from values, I guess, using the same rules as one-line tab files.
Besides key-value pairs, networkx adds a shape (ellipsis). This is probably something like a reserved word. Do you know what are the others?
Can you check why Networkx can't read files that are created in Orange? I don't think we're adding anything fancy.
Can you check why Networkx can't read files that are created in Orange? I don't think we're adding anything fancy.
When I said it "can't read files" I was being dramatic. I meant it doesn't handle attributes properly. It takes everything as a node label, i.e. '[544 | G1] {security, G1}'. Ideally, the only node label would be "security", with "544" as node attribute Count (which was present in the original data). And, of course, "G1" would be an attribute Group, so that the user could navigate between attributes properly. Now it is a single item.
Network version
1.9.0
Orange version
3.37.0
Expected behavior
Save Network saves the data (attributes) in the same way as etworkX would. See below.
Actual behavior
The data is saved as such. Orange can't read what it saves (attributes not loaded properly). NetworkX can't read what Orange saves. Also, Orange can't read what NetworkX saves.
Steps to reproduce the behavior
import networkx as nx
Create a graph
Additional info (worksheets, data, screenshots, ...)
While pajek doesn't have a documentation on its format (from what I know), it would be nice to have the format transferable between NetworkX and Orange. Or at the very least for Orange to properly read the data it saves.
The text was updated successfully, but these errors were encountered: