GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Genogram Layout Problem

Click to view RSS...
Author
Posted Wednesday, November 6, 2024 - Post #45477
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Forum Members

Last Login: Monday, November 25, 2024
Posts: 1, Visits: 4
I’m developing a Genogram based on GoJS Genogram 8 with VueJS.
The Genogram can be saved into local storage and loaded anytime. It saves whole diagram data including node and link location coordinates. But there is one issue I found:

layout:  // use a custom layout, defined below
$(GenogramLayout, {direction: 90, layerSpacing: 30, columnSpacing: 10}) 


The layout config above does auto layout but ignores the node location coordinates.
Removing that code means I can save node and link location but no auto layout.
My aim is to make an auto layout for the first time genogram render then save the layout state.
When I load the genogram data, It shows the same layout location from the local storage.
I tried modifying the GenogramLayout class but I couldn’t find slope game specific function that control the layout coordinates.

Which part of code or function I need to modify/override ?

Any solution is appreciated. Thank you very much.

Edited: Monday, November 25, 2024 by darrylwright

Threaded View

Expand / Collapse
Threaded View
Forum Post Genogram Layout Problem By darrylwright ( Wednesday, November 6, 2024 )
Forum Post GoJS has not been a topic on this forum at all. I suggest you would... By genome ( Friday, November 8, 2024 )


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 2 - 1 guest, 0 members, 0 anonymous.
Refresh
No members currently viewing this topic!