goJS dropdown remove items
问题 I have simple python flask goJS graph application which looks like this: Sources for node and link texts are loaded from backend side of app and I set them in model.modelData part like this: var graphDataString = JSON.parse('{{ diagramData | tojson | safe}}'); myDiagram.model = go.Model.fromJson(graphDataString); myDiagram.model.set(myDiagram.model.modelData, "linkchoices", JSON.parse('{{ link_choices | tojson | safe}}')); myDiagram.model.set(myDiagram.model.modelData, "nodechoices", JSON