start and end of curveSegment in listOfSpeciesReferenceGlyphs in SBML are wrong
The SBML layout package specification says that curve segements of species reference glyphs in a reaction should start in species and end in reaction for everything except modifiers (modifier, inhibitor, activator).
<layout:reactionGlyph layout:id="re1_0" layout:reaction="re1" render:objectRole="style_re1">
<layout:curve>
<layout:listOfCurveSegments>
<layout:curveSegment xsi:type="LineSegment">
<layout:start layout:x="227.7262811074844" layout:y="188.8827351669911"/>
<layout:end layout:x="235.1487188925156" layout:y="191.8672648330089"/>
</layout:curveSegment>
</layout:listOfCurveSegments>
</layout:curve>
<layout:listOfSpeciesReferenceGlyphs>
<layout:speciesReferenceGlyph layout:id="node_1" layout:role="substrate" layout:speciesGlyph="sa1">
<layout:curve>
<layout:listOfCurveSegments>
<layout:curveSegment xsi:type="LineSegment">
<layout:start layout:x="136" layout:y="152"/>
<layout:end layout:x="227.7262811074844" layout:y="188.8827351669911"/>
</layout:curveSegment>
</layout:listOfCurveSegments>
</layout:curve>
</layout:speciesReferenceGlyph>
<layout:speciesReferenceGlyph layout:id="node_2" layout:role="product" layout:speciesGlyph="sa2">
<layout:curve>
<layout:listOfCurveSegments>
<layout:curveSegment xsi:type="LineSegment">
<layout:start layout:x="235.1487188925156" layout:y="191.8672648330089"/>
<layout:end layout:x="326.875" layout:y="228.75"/>
</layout:curveSegment>
</layout:listOfCurveSegments>
</layout:curve>
</layout:speciesReferenceGlyph>
</layout:listOfSpeciesReferenceGlyphs>
</layout:reactionGlyph>
</layout:listOfReactionGlyphs>
Edited by Piotr Gawron