I am using python pygraphml to build my nodes, and 99% of stuff is working fine, but I can't figure out how to make the lables (text) appear in the boxes, and opening the graphml file in yEd changes my node ID.
Does anyone have any tips?
Before opening node:
<node id="10.242.0.123"/>
After opening node:
<node id="n1">
<data key="d4"/>
<data key="d5">
<y:ShapeNode>
<y:Geometry height="30.0" width="30.0" x="-15.0" y="-15.0"/>
<y:Fill color="#FFCC00" transparent="false"/>
<y:BorderStyle color="#000000" type="line" width="1.0"/>
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" modelName="custom" textColor="#000000" visible="true" width="4.0" x="13.0" y="13.0">
<y:LabelModel>
<y:SmartNodeLabelModel distance="4.0"/>
</y:LabelModel>
<y:ModelParameter>
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
</y:ModelParameter>
</y:NodeLabel>
<y:Shape type="rectangle"/>
</y:ShapeNode>
</data>
</node>