Re: [openstack-dev] [Murano] MuranoPL = UML visualization - best implementation practices?
So it does, I hadn't realized that. The earlier message mentioned using a command-line tool to produce pretty graph images, and I figured I knew just the tool for the job. Since you're already indirectly using Graphviz, if you're only using PlantUML for processing the output of umlgen.py into a PNG, why not skip a step and generate the Graphviz input file yourself? Granted, it'll take some work to build a similar visual style--I see elaborate record nodes in your future--but you don't have to be bound to PlantUML if you don't want to be. I've used Graphviz before for a few applications, and if I can help get you started with building dot files, let me know. That said, weighing effort against result, you may just be better off sticking with Plant at least in the short term. I'm sorry I can't suggest a simpler alternative for you right now. From: Dmitry Teselkin dtesel...@mirantis.commailto:dtesel...@mirantis.com Reply-To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.orgmailto:openstack-dev@lists.openstack.org Date: Wednesday, April 2, 2014 at 12:05 AM To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.orgmailto:openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] [Murano] MuranoPL = UML visualization - best implementation practices? Hi, GraphViz is alreary used by Plant UML to produce output PNG file, see 'image generation chain' below: * umlgen.py walks through MuranoPL class(es) and generated temporary file which contains Plant UML definitions for the entire graph * Plant UML is called with that file as input * Plant UML processes input file somehow and uses GraphViz to build output image On Tue, Apr 1, 2014 at 11:25 PM, Ed Cranford ed.cranf...@rackspace.commailto:ed.cranf...@rackspace.com wrote: What about Graphviz? On 4/1/14, 1:34 PM, Timur Sufiev tsuf...@mirantis.commailto:tsuf...@mirantis.com wrote: Hello! Recently we've made an attempt to make MuranoPL class definitions more conceivable for everyone, and decided to use UML diagrams for that purpose. The most obvious (and quick) solution was to use a well-known tool [1], the command-line script which uses it is almost ready [2], and the final result seems quite satisfying to us [3] (pictures are drawn using current version of script). Moreover, we liked these diagrams so much that decided to show them also in Murano's WebUI (right after the uploaded App Package has been validated). But we're little uncertain about using Java-based tool in the long run: it doesn't seem to fit very well with OpenStack common practices. So could you advice some good enough Python and/or Javascript library for generating UML diagrams? The most important criteria is an ability to produce graphics as beautiful as Plant UML does. [1] http://plantuml.sourceforge.net/ [2] https://review.openstack.org/#/c/83348/ [3] https://www.dropbox.com/sh/pesyejyjo624o34/fCe1_OM-OH#lh:null-io.murano.En vironment.png -- Timur Sufiev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Thanks, Dmitry Teselkin Deployment Engineer Mirantis http://www.mirantis.comhttp://www.mirantis.com/ ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] MuranoPL = UML visualization - best implementation practices?
On Wed, Apr 2, 2014 at 7:54 PM, Ed Cranford ed.cranf...@rackspace.comwrote: Granted, it'll take some work to build a similar visual style--I see elaborate record nodes in your future--but you don't have to be bound to PlantUML if you don't want to be. I've used Graphviz before for a few applications, and if I can help get you started with building dot files, let me know. Actually I've tried to generate GraphViz input data (in .dot format) directly from MuranoPL manifests, and the result was a little disappointment. Graphs looked fine until the number of nodes were relatively small (less then 4), and dependencies between them remain linear. As soon as the number of nodes increases, or cross links appears, the graph becomes a mess. So that's why we decided to look for some external tool. And now we trying to find another tool which doesn't requires such heavy dependencies as Java. :) I'm not shure that writing our own tool worth it, however I might be wrong here. -- Thanks, Dmitry Teselkin Deployment Engineer Mirantis http://www.mirantis.com ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] MuranoPL = UML visualization - best implementation practices?
What about Graphviz? On 4/1/14, 1:34 PM, Timur Sufiev tsuf...@mirantis.com wrote: Hello! Recently we've made an attempt to make MuranoPL class definitions more conceivable for everyone, and decided to use UML diagrams for that purpose. The most obvious (and quick) solution was to use a well-known tool [1], the command-line script which uses it is almost ready [2], and the final result seems quite satisfying to us [3] (pictures are drawn using current version of script). Moreover, we liked these diagrams so much that decided to show them also in Murano's WebUI (right after the uploaded App Package has been validated). But we're little uncertain about using Java-based tool in the long run: it doesn't seem to fit very well with OpenStack common practices. So could you advice some good enough Python and/or Javascript library for generating UML diagrams? The most important criteria is an ability to produce graphics as beautiful as Plant UML does. [1] http://plantuml.sourceforge.net/ [2] https://review.openstack.org/#/c/83348/ [3] https://www.dropbox.com/sh/pesyejyjo624o34/fCe1_OM-OH#lh:null-io.murano.En vironment.png -- Timur Sufiev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] MuranoPL = UML visualization - best implementation practices?
Hi, GraphViz is alreary used by Plant UML to produce output PNG file, see 'image generation chain' below: * umlgen.py walks through MuranoPL class(es) and generated temporary file which contains Plant UML definitions for the entire graph * Plant UML is called with that file as input * Plant UML processes input file somehow and uses GraphViz to build output image On Tue, Apr 1, 2014 at 11:25 PM, Ed Cranford ed.cranf...@rackspace.comwrote: What about Graphviz? On 4/1/14, 1:34 PM, Timur Sufiev tsuf...@mirantis.com wrote: Hello! Recently we've made an attempt to make MuranoPL class definitions more conceivable for everyone, and decided to use UML diagrams for that purpose. The most obvious (and quick) solution was to use a well-known tool [1], the command-line script which uses it is almost ready [2], and the final result seems quite satisfying to us [3] (pictures are drawn using current version of script). Moreover, we liked these diagrams so much that decided to show them also in Murano's WebUI (right after the uploaded App Package has been validated). But we're little uncertain about using Java-based tool in the long run: it doesn't seem to fit very well with OpenStack common practices. So could you advice some good enough Python and/or Javascript library for generating UML diagrams? The most important criteria is an ability to produce graphics as beautiful as Plant UML does. [1] http://plantuml.sourceforge.net/ [2] https://review.openstack.org/#/c/83348/ [3] https://www.dropbox.com/sh/pesyejyjo624o34/fCe1_OM-OH#lh:null-io.murano.En vironment.png -- Timur Sufiev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Thanks, Dmitry Teselkin Deployment Engineer Mirantis http://www.mirantis.com ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev