* Adopted child in diagram

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
avatar
stuartd
Platinum
Posts: 40
Joined: 30 Oct 2012 21:20
Family Historian: V7
Location: Cumbria

Adopted child in diagram

Post by stuartd » 27 Jan 2020 14:28

I have an individual who was adopted, and I would like that aspect of the relationship to be immediately visible in diagrams. I have set the relationship to 'a' on the parents property box.
I seem to recall reading/seeing somewhere that in traditional trees this was shown by a small circle on the descending line to the individual concerned. Whilst I suspect that cannot be achieved (automatically) in FH, is there a simple way of doing something similar?

Any assistance will be much appreciated.

Stuart
Kind regards, Stuart

User avatar
Jane
Site Admin
Posts: 8442
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Re: Adopted child in diagram

Post by Jane » 27 Jan 2020 14:39

Either add a line to the text scheme using

Code: Select all

%CUR~FAMC.PEDI% %CUR~FAMC.PEDI[2]%
OR
You could simply use an expression in the box settings to change any aspect of the box or to add an icon, on the same code if you want to flag any children where the relationship is Adopted

Code: Select all

=IsTrue(%CUR~FAMC.PEDI% = "Adopted")
If you are setting separately for each parent you might want to check for PEDI[2] as well.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Adopted child in diagram

Post by tatewise » 27 Jan 2020 14:54

There are a number of options.

FYI: there is also a standard Adoption Event that you can add to such children that provides the ability to record where and when the adoption took place and can cite any reference documents.
See how_to:recording_children_with_foster_adoptive_parents|> Recording Children with Foster/Adoptive Parents.

So one possibility is to edit your Diagram > Options > Boxes to have a Condition that uses an Expression to hold the Data Reference of the Adoption Event, i.e. %INDI.ADOP%
But that condition is true whichever parents are shown in the Diagram.

Similarly, that Expression could test for the Adoption pedigree, i.e. =IsTrue(%CUR~FAMC.PEDI% = "Adopted")
By using CUR~FAMC it ensures the test is only true if the adoptive parents are shown in the Diagram.

Associated with the Condition can be any Box Features you prefer such as: Fill colour, Line style, Shape style, Text colour, Shadow style, or an Icon.

BTW: I don't think the Father or Mother pedigrees use %CUR~FAMC.PEDI[2]% but use underscore:
%CUR~FAMC._PEDI% = "Adopted (father)"
%CUR~FAMC._PEDI% = "Adopted (mother)"
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
stuartd
Platinum
Posts: 40
Joined: 30 Oct 2012 21:20
Family Historian: V7
Location: Cumbria

Re: Adopted child in diagram

Post by stuartd » 27 Jan 2020 15:02

Thank you Jane.
Your first suggestion produced the word "Adopted" in the details beneath the individual, and I know that I can alter its position relative to other details and font size, colour, etc... So that is certainly a solution.
The second suggestion is more in line with what I had in mind, and having added the expression that you gave and set the box fill to pale yellow I had expected the individual's box to stand out on its own yellow background. But there was no change at all to the diagram.
Have I missed doing something somewhere, or just misunderstood what you were suggesting?

Stuart
Kind regards, Stuart

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Adopted child in diagram

Post by tatewise » 27 Jan 2020 15:06

You must position your Condition higher in priority than the Box Type condition that also sets Box Fill, otherwise it takes precedence and overrides your setting.

BTW: I posted about the same time as Jane, see earlier posting.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
stuartd
Platinum
Posts: 40
Joined: 30 Oct 2012 21:20
Family Historian: V7
Location: Cumbria

Re: Adopted child in diagram

Post by stuartd » 27 Jan 2020 15:10

Mike, I spotted your posting as soon as I had sent my reply to Jane.....
The expression dealing with adoption is at the top of the list of expressions and the priority column says Highest; the Box type is at the bottom of the list; but the box remains unchanged.

Stuart
Kind regards, Stuart

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Adopted child in diagram

Post by tatewise » 27 Jan 2020 15:25

It is working for me.
Check your Expression is exactly =IsTrue(%CUR~FAMC.PEDI% = "Adopted")
Are the adoptive parents shown in the Diagram as parents of the adopted child?
Often Diagrams will default to the birth parents, so the Expression will fail.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
stuartd
Platinum
Posts: 40
Joined: 30 Oct 2012 21:20
Family Historian: V7
Location: Cumbria

Re: Adopted child in diagram

Post by stuartd » 27 Jan 2020 15:41

Mike,
I think I had the expression correctly written, but to be certain I Copied the expression from your posting into the relevant box, but still no success.
Curiously, if I edit the features to include an icon that appears as soon as I click on "Apply"; likewise the text colour option. But not the box fill, nor box line...

Stuart
Kind regards, Stuart

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Adopted child in diagram

Post by tatewise » 27 Jan 2020 15:54

That is very odd, as clearly the Expression is working correctly and invoking some Box Features.
They all seem to be working here, so perhaps you can post a screenshot of your Boxes tab with your Condition selected so its Features are shown below.

BTW: Usually <Default> is at bottom of list with Lowest priority, not Box Type as you described.
Does that give any clues?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
stuartd
Platinum
Posts: 40
Joined: 30 Oct 2012 21:20
Family Historian: V7
Location: Cumbria

Re: Adopted child in diagram

Post by stuartd » 27 Jan 2020 16:14

Apologies for being less than precise about the order of expressions. I suppose I was rather mentally discounting the default, as always being there, the Box Type is indeed next to bottom of the list.
I was expecting that a request for a screenshot would be the next obvious step, and never having done one, much less attached it to a forum message, it may be a little while before I have worked out how to achieve that... But I will endeavour to do so.

Stuart
Kind regards, Stuart

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Adopted child in diagram

Post by tatewise » 27 Jan 2020 16:19

See info:forums#posting_topics|> Posting Topics regarding attachment screenshots.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
stuartd
Platinum
Posts: 40
Joined: 30 Oct 2012 21:20
Family Historian: V7
Location: Cumbria

Re: Adopted child in diagram

Post by stuartd » 27 Jan 2020 16:36

Thanks for that pointer, Mike.
Hopefully the relevant dialog box will appear below...
BoxOptions.png
BoxOptions.png (42.54 KiB) Viewed 7427 times
Kind regards,
Stuart
Kind regards, Stuart

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Adopted child in diagram

Post by tatewise » 27 Jan 2020 17:07

I have to admit I cannot see anything wrong with that.
You say you simply use the Edit Features button as shown in your screenshot, and change some other features, then click Apply and those new features get rendered correctly on exactly the same Diagram, but the Box Fill never gets applied?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
jimlad68
Megastar
Posts: 911
Joined: 18 May 2014 21:01
Family Historian: V7
Location: Sheffield, Yorkshire, UK (but from Lancashire)
Contact:

Re: Adopted child in diagram

Post by jimlad68 » 27 Jan 2020 17:08

I like to keep my database simple (1 size fits all solutions) so if I want to "briefly" emphasise or note something pertinent about a person I have created a custom fact, use the note field with something like:
[not on 1841 census]
or [TWIN, coal hewer]
or [adopted]
or [prob stepdau of Xxx Xxxx]

I use a "normal time" of shortly after birth for the fact so that it always appears near the top in reports etc
But mainly it is for diagrams where in the text scheme I just add %INDI.EVEN-BRIEF[1+].NOTE2%

This is not automatic, but covers many situations.
Jim Orrell - researching: see - but probably out of date https://gw.geneanet.org/jimlad68

avatar
stuartd
Platinum
Posts: 40
Joined: 30 Oct 2012 21:20
Family Historian: V7
Location: Cumbria

Re: Adopted child in diagram

Post by stuartd » 27 Jan 2020 17:51

Mike,
I have gone back to the features box and played around with the various settings to see which worked and which didn't.
I think the box fill wasn't working because I hadn't selected a box 'shape'. When I selected a rectangle for the box shape then the fill colour also appeared; likewise with the box line selection.
I have never actually bothered with boxes before, because I prefer just to have the text (and icons where appropriate) in my diagrams, so it never occurred to me that the various features did not work entirely independently of each other. But I can see the logic that FH can't 'fill' a box, or put a line round it if it has no declared 'shape'.

jimlad68,
In many instances I would do the same as you suggest but, as Mike alluded to earlier, anything in a fact, or note, is always going to appear with the individual concerned, and that would not be wanted in a diagram based on his 'birth' mother for instance.

It does look as if this is now sorted - I just have to decide precisely what feature I use to indicate this particular case.....

As a bonus I have also discovered how to attach screenshots :D

Thanks to everyone for the suggestions and guidance.

Kind regards,
Stuart
Kind regards, Stuart

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Adopted child in diagram

Post by tatewise » 27 Jan 2020 18:02

Ah! Yes Stuart, that would do it.
Tip: Don't completely obscure the underlying Diagram. Then I would have seen you had <no box> defined.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply