Fixed an issue with plotting networks without modules