private static String getNodeName(StreamNode node) {
        if (node instanceof StreamSource) {
            return ((StreamSource) node).getSourceName();
        } else if (node instanceof StreamSink) {
            return ((StreamSink) node).getSinkName();
        } else {
            return ((StreamTransform) node).getTransformName();
        }
    }
Optimize relation of node, JoinerRelation must be rebuilt.
inlong-manager/manager-pojo/src/main/java/org/apache/inlong/manager/pojo/sort/util/NodeRelationUtils.java