public static IEnumerable<Path> CreatePaths(DataPath data)
 {
     yield return Visualizer.CreateFillPath(PathFormatter.ToString(data));
     foreach (var x in data.Subpaths.SelectMany(Visualizer.CreatePathsForSubpath))
     {
         yield return x;
     }
 }
        public static IEnumerable <Path> CreatePaths(DataPath data)
        {
            yield return(Visualizer.CreateFillPath(PathFormatter.ToString(data)));

            foreach (var x in data.Subpaths.SelectMany(Visualizer.CreatePathsForSubpath))
            {
                yield return(x);
            }
        }