This diagram image could be re-created using vector graphics as an SVG file. This has several advantages; see Commons:Media for cleanup for more information. If an SVG form of this image is available, please upload it and afterwards replace this template with {{vector version available|new image name}}.
It is recommended to name the SVG file “BDD diagram with complemented edges.svg”—then the template Vector version available (or Vva) does not need the new image name parameter.
The Python source code for creating this image is the following:
"""Example of BDD represented using complemented edges.This script uses the Python package:https://pypi.org/project/dd"""# Copyright 2021# Licensed under the Creative Commons CC0 Licensefromddimportautorefas_bdddefmain():bdd=_bdd.BDD()bdd.declare('x1','x2','x3')u=bdd.add_expr('(~ x1 /\ ~ x2 /\ ~ x3) ''\/ (x1 /\ x2) \/ (x2 /\ x3)')bdd.collect_garbage()bdd.dump('example.png',[u])if__name__=='__main__':main()
Licensing
I, the copyright holder of this work, hereby publish it under the following licence:
to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the licence, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible licence as the original.