Hey Mike...
thanks for your reply
> Are you using the vizmapper to apply the colors?
no i just construct my own xgmml file... a sample xgmml shown
below...
i import this file and colors and shapes are as expected...
than if i perform any of the actions listed below the view is reset to
some default:
File->Network->Empty Network (always resets graph attributes)
or
apply Filters (always resets graph attributes)
or
Layout-> Cytoscape Layout->Degree Sorted Circle Layout (not always:
resets in windows 2.5.1 version but not in previous versions that i
have still installed on linux or mac- might be dependent on the
environment i have too)
or
....
also with the older versions (potentially environment dependent) i can
select the now color-less network and perform "destroy view" and than
"create view" and colors would be restored... although i actually
don't like doing that because the specific spread of the network is
than gone again...
importing and exporting the vizmap property file is no help for this
problem...
thanks
M.
=========================
<?xml version='1.0'?>
<graph id="test" label="test" xmlns:xsi="
http://www.w3.org/2001/
XMLSchema-instance" xmlns:ns1="
http://www.w3.org/1999/xlink"
xmlns:dc="
http://purl.org/dc/elements/1.1/" xmlns:rdf="http://
www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="
http://www.cs.rpi.edu/
XGMML">
<att name="documentVersion" value="1.0"/>
<att name="backgroundColor" value="#9999ff"/>
<node id="1" label="node1" name="base">
<att type="string" name="node.label" label="node.label"/>
<att type="string" value="SW,NW,c,0,0"
name="node.labelPosition" label="node.labelPosition"/>
<att type="string" value="node1" name="canonicalName"
label="canonicalName"/>
<graphics width="1" fill="#00FF00" type="triangle"
outline="#000000" h="35.0" w="35.0" x="1" y="1">
<att name="cytoscapeNodeGraphicsAttributes">
<att name="nodeTransparency" value="1.0"/>
<att name="nodeLabelFont" value="Default-0-12"/>
<att name="borderLineType" value="solid"/>
</att>
</graphics>
</node>
<node id="2" label="node2" name="base">
<att type="string" name="node.label" label="node.label"/>
<att type="string" value="SW,NW,c,0,0"
name="node.labelPosition" label="node.labelPosition"/>
<att type="string" value="node2" name="canonicalName"
label="canonicalName"/>
<graphics width="3" fill="#FF0000" type="triangle"
outline="#000000" h="15.0" w="15.0" x="2" y="1">
<att name="cytoscapeNodeGraphicsAttributes">
<att name="nodeTransparency" value="1.0"/>
<att name="nodeLabelFont" value="Default-0-12"/>
<att name="borderLineType" value="solid"/>
</att>
</graphics>
</node>
<edge id="node1-linktype-node2" label="node1-linktype-node2"
source="1" target="2">
<att label="XGMML Edge Label" name="XGMML Edge Label"
value="linktype" type="string"/>
<att type="real" value="5" name="edgedistance"
label="edgedistance"/>
<att type="string" value="linktype" name="interaction"
label="interaction"/>
<graphics width="2" fill="#00FF7F">
<att name="cytoscapeEdgeGraphicsAttributes">
<att name="sourceArrow" value="0"/>
<att name="targetArrow" value="0"/>
<att name="edgeLabelFont"
value="sansserif.italic-0-10"/>
<att name="edgeLineType" value="LINE_2"/>
<att name="sourceArrowColor" value="#000000"/>
<att name="targetArrowColor" value="#000000"/>
<att name="curved" value="STRAIGHT_LINES"/>
</att>
</graphics>
</edge>
</graph>