Explicit bounding box for (some/all?) labels
Closed this issue · 5 comments
cannin commented
Sarah:
Labels should have an explicit bounding box, not an implicit bounding box (= inferred from the bounding box of the surrounding node)
Problem with an implicit bbox:
- Label may intersect with node decorations (markers, units of information, state variables)
- Even worse with compartments (full of all sorts of things)
Reported by: alice_villeger
cannin commented
Observation
An explicit bounding box is:
- essential for compartments (no SBGN rules at all for where such label should be placed)
- probably a good idea for nodes with a lot of decorations (but less essential than for compartments)
- not very useful for simple nodes (but doesn't hurt much either)
First solution:
(1) bounding box for labels are:
- mandatory for compartments
- optional but recommended for decorated nodes
- optional but permitted for simple nodes?
Alternative solution:
(2) always use a bounding box for all labels?
Original comment by: alice_villeger
cannin commented
- milestone: --> Milestone 1
- assigned_to: nobody --> fbergmann
Original comment by: amarillion
cannin commented
Frank recommends to start by copying the layout extension.
Original comment by: amarillion
cannin commented
- status: open --> closed-duplicate
Original comment by: amarillion
cannin commented
This is now a duplicate of #3044617
Original comment by: amarillion