Open forestrick opened 3 years ago
@forestrick
Thank you for reporting the error, the example was updated in the following commit: https://github.com/mingrammer/diagrams/commit/54a26048f7348e7de5cf89bbeafb616202a78542
But the last version don't have the changes yet.
Ref: https://diagrams.mingrammer.com/docs/guides/edge
I try to copy the code and test run it then I kept seeing errors like,
Which I found the problems was the demo code tries to import Fluentd from the path
diagrams.onprem.logging
,then I tried to find the
Fluentd
in folder/usr/local/lib/python3.9/site-packages/diagrams
and saw Fluentd is inaggregator.py
so I modified the demo code tofrom diagrams.onprem.aggregator import Fluentd
then it works perfectly.
Not sure you if meant to move
Fluentd
toaggregator.py
, if so, the demo code should be modified accordingly. Thanks.