Documentation ¶
Overview ¶
Package draw provides methods for graphical representations of a placetypes specification
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawPlacetypesGraph ¶
DrawPlacetypesGraph will derive a Graphviz "dot" representation of 'spec' and render it as an `image.Image` instance.
func DrawPlacetypesGraphToFile ¶
DrawPlacetypesGraphToWriter will derive a Graphviz "dot" representation of 'spec' and render it as an image written to 'path'. Valid image formats (derived from 'path' 's file extension) are: jpeg (jpg) and png.
func DrawPlacetypesGraphToWriter ¶
func DrawPlacetypesGraphToWriter(spec *placetypes.WOFPlacetypeSpecification, format string, wr io.Writer) error
DrawPlacetypesGraphToWriter will derive a Graphviz "dot" representation of 'spec' and render it as an image written to 'wr'. Valid image formats (defined by the 'format' argument) are: jpeg (jpg) and png.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.