Topology view using Graphml

Using Graphml I can view the layer based topology in the web UI for all the existing Nodes.
If I add any New nodes in Opennms that is not updating in web UI topology view until I restart opennnms

How I Can Update the Topology View without Restarting Opennms ?

Someone help me on this ?

You have to update the GraphML file and update the data via the REST API.

This means, you modify the xml file manually or programatically.
Afterwards you must delete the existing (if any) topology
curl -X DELETE -u admin:admin 'http://localhost:8980/opennms/rest/graphml/topology-name'

Finally push the new file:
curl -X POST -H "Content-Type: application/xml" -u admin:admin -d@graph.xml 'http://localhost:8980/opennms/rest/graphml/topology-name'

Keep in mind, there is no automatically generating of the graphml file in OpenNMS. You always have to generate/build the Topology yourself (either manually or programatically).

See also the Development Guide - 3.2.1 Create/Update/Delete GraphML Topology

Also keep in mind, that the data you see may be cached up to 5 Minutes. Only then you see the changes in the UI. You can manually trigger a reload by sending a reload event with uei You can provide the namespace with namespace parameter or omit it, then the cache for all topologies is evicted:

$OPENNMS_HOME/bin/ --parm 'namespace <my-namespace>'