Comments (11)
That fixed it! Will push directly
from gramps-web.
We are using graphviz, a common software library to render and layout arbitrary graphs. The algorythm tries to minimize the number of crossing edges. This is well accepted as helpful when displaying large directed graphs. But it definetly has the effect, that other sorting crierteria like date of birth are not taken into account.
Displaying persons which are part of more than one family multiple times is intended as discussed in #313 . It seems to be the best option in these cases.
from gramps-web.
Persons showing up more than once is intended, if they are part of more than one family and their partners or children are also part of the graph. This is the situation I tried to describe.
The JS syntax error obviously is not. Could you give some more details, e.g. the stacktrace from the browser console?
from gramps-web.
from gramps-web.
Seems to be a syntax error in the generated dot string. Could you do me a favour and add console.log(dot)
before line 186 in RelationshipChart.js and show the line the error refers to - if this is possible? Currently I have no idea how a '-02' should make it to the generated dot depending on individual data.
I am assuming, that the handle
from api data is a save alphanumeric string. If this not the case, I have to rework the code.
from gramps-web.
Here (trying out locally now) it says "line 2476 near '-02'", line 2476 would be the third line here - not sure if this is the right counting though...
subgraph cluster_p_53ce42d5-02cd-4d82-bbfb-db3449fe038c {
cluster=true
color=white
label="."
node_p_53ce42d5-02cd-4d82-bbfb-db3449fe038cx53ce42d5-02cd-4d82-bbfb-db3449fe038c [
class="person_53ce42d5-02cd-4d82-bbfb-db3449fe038c"
margin=0.25
shape="none"
fixedsize=true
width=2.878787878787879
height=1.0636363636363635
label=<->
]
}
from gramps-web.
Actually it's the only subgraph with the string -02
, so might be something in there.
from gramps-web.
I ran this on the command line with dot
and got
Warning: syntax ambiguity - badly delimited number '-02c' in line 2475 of graph.dot splits into two tokens
Error: graph.dot: syntax error in line 2475 near '-02'
from gramps-web.
For some reason it seems handles with hyphens cause problems. And Gramps Web API uses UUIDv4s with hyphens 😬
I suspect quotation marks might be enough to fix it https://stackoverflow.com/questions/14958346/dot-dash-in-name
from gramps-web.
I'll try that out
from gramps-web.
I am experiencing some problems with the correct sorting of the main person's descendants.
maybe i'm the only one experiencing these errors as my family tree is quite large, but it would be good if the descendants were always sorted by year of birth and no distinction was made as to whether the people were married or not, as this should not affect the view.
a person who has been married twice is reported twice:
thank you for your hard work i really appreciate it.
this view was really missing.
please continue with your great work
from gramps-web.
Related Issues (20)
- Filter map
- Glitch in improved map search box in Firefox HOT 1
- Color code for gender HOT 3
- Problems connecting web sync
- Add tree ID, username and permissions level to System Information
- Login page needs a Tree Identifying title and Privacy Policy link HOT 1
- Demo is not resetting Users and is refusing to commit changes
- Requesting a "Lost Password" reminder has misleading error message when no eMail address is known
- Lag in response (or feedback) to "RESET PASSWORD" click leads to 2nd click and "Error: Error 429" message
- 500 error when viewing a place with a deleted encloser HOT 2
- Make researcher details accessible HOT 1
- Media title not shown in media reference HOT 1
- Dev Setup: Api-Container issue with example gramps file HOT 2
- Weblate not pushing? HOT 4
- Option to change display format for name in graph views HOT 2
- Error when a link to a MediaObject is added to a notation for a Blog HOT 2
- Import assertion syntax deprecated HOT 22
- Setting up HTTPS with Let's Encrypt and Docker Compose = doesn't work HOT 1
- Release tag and free text misaligned HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gramps-web.