Unfortunately, Memgraph's GSS doesn't have that option, but there is an option to display edge text only if there is a small number of edges in the view. After you select the edge, its type will be shown in the pop-up. Here's an example of how you can set the number of edges after which the text will not be shown:
@EdgeStyle Less(EdgeCount(graph), 30) {
label: Type(edge)
}
Does this help?