Posts

Showing posts from June, 2020

dotifi: Generating DOT files from the Apache Nifi canvas

Image
Something I really enjoy is when someone who is using one of the open source projects that I contribute to  has a cool idea or need that inspires me.  Sometimes people have needs or ideas and I may think, well that would be cool, but I have no idea how you would do that.  But other times, they get you thinking and you do have some idea, and that can lead to some fun things. This happened recently with a thread on the Apache NiFi Slack, where someone posed a simple question: That is pretty interesting.  How to document a Nifi flow? That really got me thinking, and brought something to mind.   https://diagrams.mingrammer.com . Diagrams lets you generate pretty stylish diagrams in python code.  I had recently discovered it and used it for a couple of diagrams to use in a presentation and liked it a lot. Along with  NiPyApi , the idea would be to traverse a NiFi Canvas and generate a diagram from that. That is a pretty cool idea, and diagrams is definitely pretty neat.. but diagrams is not