Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.


Appearance of GraphML primer examples in yEd

0 votes
Hi.  I'm new to yEd.  I tried downloading the GraphML examples to open in yEd, but they look a lot different in yEd than in the GraphML primer pages.  Is this expected?

For example, see http://graphml.graphdrawing.org/primer/attributes.graphml

In the web page, this appears as a colorful graph.  In yEd it appears is a single orange square until I select a layout.
in Help by (120 points)

1 Answer

0 votes
The GraphML standard is mostly about defining the structure or 'topology' of a graph, roughly speaking the set of nodes and their connections/edges. Additionally, there is the very generic attributes extensions which describes how to add data to nodes, edges and the graph as such. The standard specifies not how typical graphical properties like fill color, shape or even node location should be stored in attributes. That's why yEd uses its own format to store these important properties as GraphML attributes, but nevertheless it uses valid GraphML.

If you have closer look at the example (even if you're not familiar with XML), you'll notice that it doesn't contain any location information and there is no indication for of the purpose of the node color (fill color, border color?).
by [yWorks] (26.8k points)
Legal Disclosure | Privacy Policy