From c57be8a20fcb171615f7ea9f447615344d371b0e Mon Sep 17 00:00:00 2001
From: Sebastian Schmitt <sebastian.schmitt@kip.uni-heidelberg.de>
Date: Tue, 18 May 2021 17:03:54 +0200
Subject: [PATCH] Document on-components (#1531)

---
 doc/concepts/labels.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/concepts/labels.rst b/doc/concepts/labels.rst
index d99a499c..11d418a9 100644
--- a/doc/concepts/labels.rst
+++ b/doc/concepts/labels.rst
@@ -602,6 +602,11 @@ Examples of locations, :ref:`expressed using the DSL <labels-location-def>`, inc
 * The end of branch 5 ``(location 5 1)``.
 * One quarter of the way along branch 5 ``(location 5 0.25)``.
 
+In general, a location on a component can be specific with ``on-components``, e.g.:
+
+* One quarter of the way along segment 3 ``(on-components 0.25 (segment 3))``.
+* One tenth of the way along branch 4 ``(on-components 0.1 (branch 4))`` (identical to ``(location 4 0.1)``).
+
 .. _labels-cables:
 
 Cables
-- 
GitLab