Skip to content
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

Make GraphML.Writer use vertexID and edgeEndpoints #42

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

debug-ito
Copy link

Fix for #41.

To keep backward-compatibility, now "id", "source" and "target" attributes stored in Vertex or Edge are ignored. Those attributes in the output are now provided by vertexID and edgeEndpoints.

to generate "id", "source" and "target" attributes. If they are
already defined in vertexAttributes or edgeAttributes, those are
ignored.
nodes are ordered by the ID.
@snowleopard
Copy link
Member

I'd like @thisiswhereitype to have a look.

@thisiswhereitype
Copy link
Collaborator

For what is worth this was behaviour was intentional when I wrote this but with some more experience I agree a change is needed.

I will review this code carefully but I am overall concerned about consistent treatment across parsers.
I intend to includean obvious change to the API in this module for 0.3 to chose between the two.
With depreciation of current behaviour and dropping for version 1.

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

Successfully merging this pull request may close these issues.

3 participants