Partial fix for server reading EffectGraphs.

New Problem: server expects same content in effectnodes as effectedges.
Possible solution: Change graph<T> to graph<T,D> or
subclass graph into effectgraph and pathgraph.