Hi Duncan,
Sorry, there is no stable APIs to create images through blockdiag (nwdiag too).
For now, you can do it using following codes:
from nwdiag.command import NwdiagApp
NwdiagApp.run(args) # args is options for nwdiag (array of string)
I hope this will help you.
Thanks,
Takeshi KOMIYA
> --
> このメールは Google グループのグループ「blockdiag-discuss」に登録しているユーザーに送られています。
> このグループから退会し、グループからのメールの配信を停止するには
>
blockdiag-disc...@googlegroups.com にメールを送信してください。
> その他のオプションについては
https://groups.google.com/d/optout にアクセスしてください。