Draw Nodes and Edges for mesh3d


Is there any settings or parameters in Mesh3d to add scatters to the corners and lines to the edges? (I don’t want to use scatter3d and that would be great if there be an easier way)

import plotly.graph_objects as go
import numpy as np

x=[0, 5, 2.5, 2.5]
y=[0,0 , 5, 2.5]

fig = go.Figure(data=[go.Mesh3d(x=x, y=y, z=z, color='lightpink', opacity=0.99,)])