fn generate_rel_delete_input(t: &Type, r: &Relationship) -> NodeType {
    let mut props = HashMap::new();
    props.insert(
        "MATCH".to_string(),
        Property::new(
            "MATCH".to_string(),
            PropertyKind::Input,
            fmt_rel_query_input_name(t, r),
        ),
    );
    props.insert(
        "src".to_string(),
        Property::new(
            "src".to_string(),
            PropertyKind::Input,
            fmt_rel_src_delete_mutation_input_name(t, r),
        ),
    );
    props.insert(
        "dst".to_string(),
        Property::new(
            "dst".to_string(),
            PropertyKind::Input,
            fmt_rel_dst_delete_mutation_input_name(t, r),
        ),
    );
    NodeType::new(fmt_rel_delete_input_name(t, r), TypeKind::Input, props)
}
/// Takes a WG Type and Rel and returns a NodeType representing a GqlRelDeleteInput
///
/// Format:
/// input GqlRelDeleteInput {
///    MATCH: GqlRelQueryInput
///    src: GqlRelSrcDeleteMutationInput
///    dst: GqlRelDstDeleteMutationInput
/// }
///
/// Ex:
/// input ProjectOwnerDeleteInput {
///    MATCH: ProjectOwnerQueryInput
///    src: ProjectOwnerSrcDeleteMutationInput
///    dst: ProjectOwnerDstDeleteMutationInput
/// }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelDeleteInput
Format:
input GqlRelDeleteInput {
MATCH: GqlRelQueryInput
src: GqlRelSrcDeleteMutationInput
dst: GqlRelDstDeleteMutationInput
}


Takes a WG Type and Rel and returns a NodeType representing a GqlRelDeleteInput Format : input GqlRelDeleteInput { MATCH : GqlRelQueryInput src : GqlRelSrcDeleteMutationInput dst : GqlRelDstDeleteMutationInput }
fn generate_rel_delete_input(t: &Type, r: &Relationship) -> NodeType {
    let mut props = HashMap::new();
    props.insert(
        "MATCH".to_string(),
        Property::new(
            "MATCH".to_string(),
            PropertyKind::Input,
            fmt_rel_query_input_name(t, r),
        ),
    );
    props.insert(
        "src".to_string(),
        Property::new(
            "src".to_string(),
            PropertyKind::Input,
            fmt_rel_src_delete_mutation_input_name(t, r),
        ),
    );
    props.insert(
        "dst".to_string(),
        Property::new(
            "dst".to_string(),
            PropertyKind::Input,
            fmt_rel_dst_delete_mutation_input_name(t, r),
        ),
    );
    NodeType::new(fmt_rel_delete_input_name(t, r), TypeKind::Input, props)
}
fn generate_rel_delete_input ( t : & Type , r : & Relationship ) -> NodeType { let mut props = HashMap :: new ( ) ; props . insert ( " " . to_string ( ) , Property :: new ( " " . to_string ( ) , PropertyKind :: Input , fmt_rel_query_input_name ( t , r ) , ) , ) ; props . insert ( " " . to_string ( ) , Property :: new ( " " . to_string ( ) , PropertyKind :: Input , fmt_rel_src_delete_mutation_input_name ( t , r ) , ) , ) ; props . insert ( " " . to_string ( ) , Property :: new ( " " . to_string ( ) , PropertyKind :: Input , fmt_rel_dst_delete_mutation_input_name ( t , r ) , ) , ) ; NodeType :: new ( fmt_rel_delete_input_name ( t , r ) , TypeKind :: Input , props ) }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelDeleteInput
Format:
input GqlRelDeleteInput {
MATCH: GqlRelQueryInput
src: GqlRelSrcDeleteMutationInput
dst: GqlRelDstDeleteMutationInput
}
Takes a WG Type and Rel and returns a NodeType representing a GqlRelDeleteInput Format : input GqlRelDeleteInput { MATCH : GqlRelQueryInput src : GqlRelSrcDeleteMutationInput dst : GqlRelDstDeleteMutationInput }
t
&Type
r
&Relationship
t
&Type
r
&Relationship