struct GraphViz::Type::GVSplineType

Defined in:

graphviz/types/spline_type.cr

Constant Summary

ENDP_MASK = /e\s*,\s*#{FLOAT_MASK}\s*,\s*#{FLOAT_MASK}/
FINAL_POINT_MASK = /^#{POINT_MASK}$/
FINAL_SPLINE_MASK = /^#{SPLINE_MASK}(?:\s*;\s*#{SPLINE_MASK})*$/
FLOAT_MASK = /[-+]?(?:[0-9]*\.[0-9]+|[0-9]+)/
POINT_MASK = /#{FLOAT_MASK}\s*,\s*#{FLOAT_MASK}(?:\s*,\s*#{FLOAT_MASK})?!?/
SPLINE_MASK = /(?:#{ENDP_MASK}\s+)?(?:#{STARTP_MASK}\s+)?#{POINT_MASK}(?:\s*#{TRIPLE_MASK})+/
STARTP_MASK = /s\s*,\s*#{FLOAT_MASK}\s*,\s*#{FLOAT_MASK}/
TRIPLE_MASK = /#{POINT_MASK}\s+#{POINT_MASK}\s+#{POINT_MASK}/

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(data : String, is_spline : Bool = false) #

[View source]

Class Method Detail

def self.gv_parse(a) #

[View source]

Instance Method Detail

def to_gv(io) #

[View source]
def to_gv #

[View source]