public EdgeStyle ReadEdgeStyle(string edgeId)
        {
            var style = new EdgeStyle(edgeId);

            style.Style = myReader.ReadString();
            style.Color = StyleConverter.GetBrush(myReader.ReadString());

            return(style);
        }
        public NodeStyle ReadNodeStyle(string nodeId)
        {
            var style = new NodeStyle(nodeId);

            style.Style       = myReader.ReadString();
            style.Shape       = myReader.ReadString();
            style.BorderColor = StyleConverter.GetBrush(myReader.ReadString());
            style.FillColor   = StyleConverter.GetBrush(myReader.ReadString());

            return(style);
        }