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: Wednesday, November 6, 2024
Posts: 1, Visits: 2
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 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.
Posted Friday, November 8, 2024 - Post #45480
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 12 hours ago
Posts: 3,395, Visits: 26,154
GoJS has not been a topic on this forum at all.  I suggest you would be better off posting your query on the GoJS forum. 

But hey, just a minute, perhaps you did, six years ago https://forum.nwoods.com/t/genogram-layout-problem/10778/8 Rolleyes


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


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!