8000 [Gexf] Handle attributes titles · Issue #515 · graphology/graphology · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Gexf] Handle attributes titles #515

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

Open
paulgirard opened this issue Jun 14, 2024 · 0 comments
Open

[Gexf] Handle attributes titles #515

paulgirard opened this issue Jun 14, 2024 · 0 comments

Comments

@paulgirard
Copy link
Contributor

In GEXF each attributes can have a title.
Some GEXF producer like tab2net uses this field.
But the parser does not import this information as graphology data model does not handle this title/label concept.
Similarly the write does not propose a way to populate those title fields unless to provide a customize node/edge format method.

I discovered this as some table2net users complained not finding those title after opening a table2net gexf in Gephi Lite : gephi/gephi-lite#163

To solve this one approach could be to expose the node and edge model as a graph attribute both at parsing and writing.
At parsing the models would be added as graph attribute and let consumers decide what to do with those extra informations.
At writing provider could decide to provide models as graph attributes if they want. If not the current inferring models would work as usual. Actually we probably want to merge the provided model with the inferred one.

What do y ou think @Yomguithereal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
0