UnickSoft / graphonline

This is source code of graphonline service. Graphonline helps visualize graph and applies a lot of algorithms.
http://graphonline.ru/en/
MIT License
367 stars 67 forks source link

non-standard GraphML syntax for directed edges #50

Closed nichtich closed 3 months ago

nichtich commented 7 months ago

GraphML edges are directed depending on edge attribute directed set to graph attribute edgedefault by default. Graphonline uses edge attribute isDirect instead and ignores graph attribute edgedefault. To maintain backwards compatibility, I'd recommend to support all three:

P.S: I'm surprised the source code emits proper GraphML but the "export" feature at https://graphonline.ru/en/ returns a slightly different format with isDirect XML attribute?!

P.P.S: I think this code is doing the wrong conversion from internal graph data to GraphML.

UnickSoft commented 7 months ago

Thanks. We will look it. Indeed we have 2 exports for graphoffline utility and for user export.

UnickSoft commented 3 months ago

Fixed.