-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
graphml writer #8
Comments
Hello, currently only data reading is supported. Providing that feature will be quite easy if we only want to export nodes and edges without data. I can try to support that in near future . |
It would be cool if export supports (selected columns) as data as well. |
Ok, i will try to do it. |
I created the following function which is "nearly there", but the XML produced will not really work for gephi. Maybe you spot a problem.
|
Unfortunately, we can not do that this way. For large graphs, it will cause memory problems. |
But when collecting the graphml file to one node (i.e. for visualization purposes (gephi)) shoultn't the assumption hold that the data is not too big? |
That is an assumption, but I think if a feature like this were to go in, it would be nice to analyze/visualize the whole graph on gephi rather than just a node. |
We should not assume that export of data to graph ml is only for Gephi visualization. What is more, implementing it using data bricks XML writer, or Hadoop XML support should not be so complex. |
I just found your great package and your graphml loader https://github.com/sparkling-graph/sparkling-graph/blob/master/loaders/src/main/scala/ml/sparkling/graph/loaders/graphml/GraphMLLoader.scala
and wonder if a similar writer exists?
for gexf I have found the following code online but that will not play nice with gephi.
The text was updated successfully, but these errors were encountered: