def __get_node_dict(uid, label, node_type='', author=None, editor=None, edge_source=None, edge_target=None,
                    timestamp=''):
    """
    Create node dict for D3

    :param uid:
    :param label:
    :param node_type:
    :param author:
    :param editor:
    :param edge_source:
    :param edge_target:
    :param timestamp:
    :return: dict()
    """
    if author is None:
        author = dict()
    if editor is None:
        editor = dict()

    return {
        'id': uid,
        'label': label,
        'type': node_type,
        # 'author': author,
        # 'editor': editor,
        # for virtual nodes
        'edge_source': edge_source,
        'edge_target': edge_target,
        'timestamp': timestamp
    }