+sub end { $_[0]->to->end }
+
+LaTeX::TikZ::Interface->register(
+ line => sub {
+ shift;
+
+ __PACKAGE__->new(from => $_[0], to => $_[1]);
+ },
+);
+
+LaTeX::TikZ::Functor->default_rule(
+ (__PACKAGE__) => sub {
+ my ($functor, $set, @args) = @_;
+ $set->new(map { $_ => $set->$_->$functor(@args) } qw<from to>)
+ }
+);