FHIR Chat · minor issue in svg · committers

Stream: committers

Topic: minor issue in svg


view this post on Zulip Jose Costa Teixeira (Sep 19 2020 at 10:47):

image.png

view this post on Zulip Jose Costa Teixeira (Sep 19 2020 at 10:50):

meta is far to the right. can I fix this?

view this post on Zulip Jose Costa Teixeira (Sep 19 2020 at 10:51):

what I think I need to do:
specialtypes.diagram - Put meta before after Reference, push Dosage, Statistic and BackboneType to the righ a bit
Also make OrderedDistribution smaller to fit in sgv limits (this last bit I don't know if it's possible)

view this post on Zulip Grahame Grieve (Sep 19 2020 at 21:36):

you can't change the size. I usually have a go at cleaning up the UML before publication, and a serious go if it's a milestone

view this post on Zulip Jose Costa Teixeira (Sep 20 2020 at 07:21):

image.png

view this post on Zulip Jose Costa Teixeira (Sep 20 2020 at 07:22):

FWIW

[diagram]
classes=DataType,BackboneType,Reference,Narrative,Extension,Meta,ElementDefinition,Dosage,xhtml,Statistic,OrderedDistribution,CodeableReference
attributes=false

[size]
width=440
height=148

[directions]
DataType=0;0
Reference=120;-50
Narrative=-70;50
Extension=10;50
Meta=70;-50
CodeableReference=-80;-50
ElementDefinition=88;50
Dosage=210;-50
BackboneType=180;0
xhtml=-70;0
Statistic=270;-50
OrderedDistribution=224;50

view this post on Zulip Jose Costa Teixeira (Sep 20 2020 at 07:48):

btw, suggestion: seems that the text margin is proportional to the text length. Perhaps it could be fixed (if all items have the same margin as "DataType", it would benefit all diagrams)

view this post on Zulip Grahame Grieve (Sep 20 2020 at 19:23):

there's some guess work involved in how wide to make the class - I can't actually measure the width of the font


Last updated: Apr 12 2022 at 19:14 UTC