public void RenderGraph(Graph <VertexInfo, EdgeInfo> graph, bool panIntoView, SimulationHistoryStep step = null)
        {
            if (!_initialized)
            {
                Initialize();
            }

            ClearMap();

            // Add markers for each vertex
            foreach (var vertex in graph.Vertices)
            {
                _vertices.Add(new Circle()
                {
                    Position    = new BlazorLeaflet.Models.LatLng((float)vertex.Info.Position.Item1, (float)vertex.Info.Position.Item2),
                    Radius      = 1f,
                    StrokeColor = vertex.Info.Type switch
                    {
                        VertexType.Target => Color.Red,
                        VertexType.Base => Color.Green,
                        VertexType.Both => Color.Yellow
                    },