jamesscottbrown / pyyed

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

custom properties for groups #41

Closed David-Sola closed 3 years ago

David-Sola commented 3 years ago

First of all: Great toolbox, thanks a lot! :)

I´m struggeling with getting custom properties for nodes which are located inside a group?

group.add_node(name, custom_properties={'custom_properties': {'direction' : 'In'}})

is not working as the group has no "custom_properties" by itself. Is there any workaround for this?

David-Sola commented 3 years ago

Nevermind I did a stupid mistake and everything is working perfectly fine