Sha256: 7f4807e9c93bd0ab53be077b0c96eb88a2255a2cafbb6795dc25d0c80a18d375
Contents?: true
Size: 631 Bytes
Versions: 67
Compression:
Stored size: 631 Bytes
Contents
require "#{File.dirname(__FILE__)}/graphviz" module HybridPlatformsConductor class Topographer module Plugins # Output in Graphviz format class Svg < Topographer::Plugins::Graphviz # Output the nodes graph in a file # [API] - This method is mandatory. # # Parameters:: # * *file_name* (String): The file name for output def write_graph(file_name) gv_file_name = "#{file_name}.gv" super(gv_file_name) system "dot -Tsvg #{gv_file_name} -o #{file_name}" File.unlink gv_file_name end end end end end
Version data entries
67 entries across 67 versions & 1 rubygems