Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
flatland-model-diagram-editor
Advanced tools
Ah yes, yet another tool for generating diagrams from text. But this one is different (otherwise I wouldn't have wasted all this time building it!)
I built Flatland because the following benefits are critical for productive model development:
Basically, I have wasted way too many hours of my career pushing pixels around and I just couldn't take it anymore!
Flatland is a model diagram non-editor written by me Leon Starr that generates beautiful PDFs (and other output formats) based on two very human-readable input text files. The model file specifies model semantics (state transitions, generalizations, classes etc) while the layout file specifies (node placement and alignment, connector anchors) and lightly refers to some elements in the model file. You can think of the layout file as a "style sheet" for your models. Some benefits:
WARNING: I am still in the early days of releasing to the greater public so it's going to be a few weeks/months before this tool is ready for the outside world. We are currently using it at the Toyota Research Institute for our work modeling the driving environment for autonomous vehicles. So this tool is in production and improving daily. Nonetheless, I don't recommend wasting your time downloading just yet unless you just want to play with it and look at the code and documentation. Follow me on twitter or LinkedIn for updates.
In the meantime, if you are curious about the whole MBSE thing that this tool supports, take a look at our book. Also, various resources at the Model Integration website.
Notes here are for those familiar with python installation procedures. I will write a more detailed set of procedures for those who are not in a later release.
Flatland currently uses the multi-platform cairo graphics library to do all of the drawing. Ideally, you should ensure that you have cairo installed before installing Flatland. If you are on Mac OS X, you can use homebrew to install it easily. (It worked fine for me, anyway)
You should also ensure that you have Python 3.9+ installed. A virtual environment is highly recommended.
You can install the Flatland Model Diagram Editor from PyPI:
$ pip install flatland-model-diagram-editor
Flatland is supported on Python 3.9 and above
At this point I refer you to the wiki on this site for all of the user documentation. Enjoy (and feel free to contact me if you have any questions.
FAQs
Model text file + layout text file -> beautiful diagram
We found that flatland-model-diagram-editor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.