def METHOD_NAME(fcm_type, f):
    field_width = max(map(len, avail_nodes)) + 1
    write_and_print('\n' + ''.join('-' for _ in range(len(fcm_type))), f)
    write_and_print(fcm_type.upper(), f)
    write_and_print(''.join('-' for _ in range(len(fcm_type))), f)
    write_and_print('{:{w}}'.format('', w=field_width) + 
        ''.join(['{:{w}}'.format(node, w=field_width) 
                for node in avail_nodes]), f)
    blank = '{:{w}}'.format('', w=field_width)
    for i, node in enumerate(avail_nodes):
        l = ['{:<{w}}'.format(node, w=field_width)]
        for j, other in enumerate(avail_nodes):
            if j < i:
                l.append(blank)
            else:
                answer = 'X' if differ(node, other, fcm_type) else '.'
                l.append('{:{w}}'.format(answer, w=field_width))
        line = ''.join(l)
        write_and_print(line, f)