jamesscottbrown / pyyed

A simple Python library to export networks to yEd
BSD 3-Clause "New" or "Revised" License
81 stars 37 forks source link

In version 3.21.1 of yed, demo-uml.py generates no UML nodes #48

Open Riduidel opened 2 years ago

Riduidel commented 2 years ago

The python script runs fine, and the generated file is not empty, but when loaded in yED there is only the note visible.

jamesscottbrown commented 2 years ago

I suspect that this is just due to a bad default layout: try selecting all the nodes with Ctr-A/Cmd-A, applying a layout with "Layout -> Organic", and then resizing the nodes with "Tools -> Fit Node to Label" (unchecking the "Ignore Height" option).

Riduidel commented 2 years ago

Well, take a look at my commit : I tried resizing my UML node, but it failed, and I had to inspect the generated .graphml file to understand that the parameters and methods were not set in the right place (for thhis version of yEd, at least)