10-04-2008, 05:06 PM
Hey guys,
I tried to combine Martins GraphViewRadialTreeLayoutChangingRoot(V1) and GraphMLFileDemo.
Check It (View Source is enabled).
So far so good!! Most of this code is written by Martin ofc, what saved me a lot of work, thank you man. You can see in some comments a triplet of question marks, where I just don't know what's going on
. If you got any suggestions to that, let me know.
I didn't change the graphml file yet, cause that can be done later. I won't need a gender, so there's no more determination in the code for that.
What else I'd like to do:
1) Get a search working over the graph (f.e. if you search for "Fernando" you start with Fernando as root node).
2) I'd like to have a separate distance for each edge in the graphml file (f.e. <edge source="1" target="2" distance="0.5" />
If you have any suggestions on that, you 're welcome. 1) shouldn't be that hard I guess(?), but 2) is as far a mystery to me
.
Nice greeting to you,
dennis
I tried to combine Martins GraphViewRadialTreeLayoutChangingRoot(V1) and GraphMLFileDemo.
Check It (View Source is enabled).
So far so good!! Most of this code is written by Martin ofc, what saved me a lot of work, thank you man. You can see in some comments a triplet of question marks, where I just don't know what's going on
. If you got any suggestions to that, let me know.I didn't change the graphml file yet, cause that can be done later. I won't need a gender, so there's no more determination in the code for that.
What else I'd like to do:
1) Get a search working over the graph (f.e. if you search for "Fernando" you start with Fernando as root node).
2) I'd like to have a separate distance for each edge in the graphml file (f.e. <edge source="1" target="2" distance="0.5" />

If you have any suggestions on that, you 're welcome. 1) shouldn't be that hard I guess(?), but 2) is as far a mystery to me
.Nice greeting to you,
dennis
