# Making the clipping boundary invisible in a voronoiplot

**URL:** https://discourse.julialang.org/t/making-the-clipping-boundary-invisible-in-a-voronoiplot/127233
**Category:** Visualization
**Tags:** makie
**Created:** [March 21, 2025, 4:13pm UTC](https://discourse.julialang.org/t/making-the-clipping-boundary-invisible-in-a-voronoiplot/127233 "2025-03-21T16:13:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![IvanSpirandelli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ivanspirandelli/32/212718_2.png) [@IvanSpirandelli](https://discourse.julialang.org/u/IvanSpirandelli)
#### Post date: [March 21, 2025, 4:13pm UTC](https://discourse.julialang.org/t/making-the-clipping-boundary-invisible-in-a-voronoiplot/127233/1 "2025-03-21T16:13:13Z")

</div>

![alpha_complex](https://global.discourse-cdn.com/julialang/original/3X/d/9/d9efada5c06854bc411157829fb482bb611f36d8.png)

Is it possible to not draw the outlines of the circles and just the voronoiplots within the circle?

I want to create a figure of an alpha complex and wanted to layer several clipped Voronoi plots to do this. Unfortunately I can’t just draw the lines of the Voronoi diagram and not draw the lines of the clipping circle. A minimal working example follows:

```julia
using CairoMakie
using DelaunayTriangulation
using Random
using Combinatorics
using GeometryBasics
using Distances

Random.seed!(1123)
points = rand(Point2f, 4) * 3.0

f = Figure()
ax = Axis(f[1, 1], aspect = DataAspect())
hidedecorations!(ax)
hidespines!(ax)

tri = triangulate(points)
for p in points
    r = 1.0
    circ = CircularArc((p[1]-r, p[2]), (p[1]-r, p[2]), (p[1], p[2])) # clip to a circle
    clip_points = [circ(t) for t in LinRange(0, 1, 100)]
    clip_vertices = [1:(length(clip_points)-1); 1]
    vorn = voronoi(tri, clip=true, clip_polygon=(clip_points, clip_vertices))
    voronoiplot!(ax, vorn, color = paired_colors[1], markersize = 1.5 * ms, strokewidth = 0.5)
end

f

```

All help much appreciated.
