index.rst 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. .. DrawioConvert documentation master file, created by
  2. sphinx-quickstart on Tue Dec 29 15:01:45 2020.
  3. You can adapt this file completely to your liking, but it should at least
  4. contain the root `toctree` directive.
  5. Welcome to DrawioConvert's documentation!
  6. =========================================
  7. :code:`DrawioConvert` is a project that allows conversion from simple, yet
  8. structured `draw.io <https://www.diagrams.net>`_ diagrams to any kind of file.
  9. This usually provides a useful entrypoint for visual modelling of models that
  10. comply to a textual framework.
  11. Or, more specifically, this tool allows for the creation of graphical
  12. interfaces for code frameworks. Note that, while this tool was written in
  13. Python, any language is possible thanks to
  14. `Jinja 2 <https://jinja.palletsprojects.com/en/2.11.x/>`_.
  15. Requirements
  16. ------------
  17. * Standard Libraries:
  18. * :code:`xml` (for :code:`xml.etree.ElementTree`)
  19. * :code:`urllib` (for :code:`urllib.parse.unquote`)
  20. * :code:`argparse`
  21. * :code:`base64`
  22. * :code:`os`
  23. * :code:`re`
  24. * :code:`sys`
  25. * :code:`zlib`
  26. * External Libraries:
  27. * `Jinja 2 <https://jinja.palletsprojects.com/en/2.11.x/>`_
  28. * Anything else that is required for the converted files to work.
  29. .. warning::
  30. :code:`DrawioConvert` does not execute the converted files, but only
  31. generates them! The user is required to install all components for the
  32. formalisms they like to use themselves.
  33. How Does It Work?
  34. -----------------
  35. The core idea behind :code:`DrawioConvert` is the use of so-called "formalisms".
  36. These are generic descriptions of how certain drawio files can (and should) be
  37. interpreted. They are provided with some setup information, a few template
  38. files, a drawio library and some documentation on their usage. From any drawio
  39. file (made according to the specification identified by the formalism) a new
  40. one will be generated that is complient with the drawn diagram and the selected
  41. formalism.
  42. This also allows drawio to be used for any block-based modelling language for
  43. which a graphical representation can be given and code generation can be
  44. defined.
  45. Quick Links
  46. -----------
  47. .. toctree::
  48. :maxdepth: 4
  49. execute
  50. formalisms/create
  51. Builtin Formalisms
  52. ------------------
  53. .. toctree::
  54. :maxdepth: 1
  55. formalisms/CBD
  56. Indices and tables
  57. ==================
  58. * :ref:`genindex`
  59. * :ref:`modindex`
  60. * :ref:`search`