I am using your library when rendering CX networks. The node and edge properties can be read from the core without any problems. I am however having issues with cytoscape.js selectors, since the CX converter changes their property names (they append _u1, _u2 etc to distinguish properties I guess).
As far as I know, the correct property names, that can be used to make selections on the core, are stored in the attributeNameMap, the CX converter uses during conversion. If you could extend the library to add another Output() containing this attributeNameMap, that would be awesome.
Hello kind sir,
Problem
I am using your library when rendering CX networks. The node and edge properties can be read from the core without any problems. I am however having issues with cytoscape.js selectors, since the CX converter changes their property names (they append
_u1
,_u2
etc to distinguish properties I guess).Steps to reproduce
The changes in network property names can be validated via this tool: https://frankkramer-lab.github.io/NDExEdit.
The respective section in the converter: https://github.com/cytoscape/cx2js/blob/master/src/cx_to_js.js#L418
Favored solution
As far as I know, the correct property names, that can be used to make selections on the core, are stored in the
attributeNameMap
, the CX converter uses during conversion. If you could extend the library to add anotherOutput()
containing thisattributeNameMap
, that would be awesome.Project