Flow2D

pub trait Flow2D {
    // Required methods
    fn f2dh(&self) -> u64;
    fn set_f2dh(&mut self, f2dh: u64);
    fn f2dw(&self) -> u64;
    fn set_f2dw(&mut self, f2dw: u64);
    fn f2dx(&self) -> u64;
    fn set_f2dx(&mut self, f2dx: u64);
    fn f2dy(&self) -> u64;
    fn set_f2dy(&mut self, f2dy: u64);
}
Expand description

§Component Flow2D

§Fully Qualified Namespace

reactive_graph::flow::Flow2D

§Description

The position (x,y) of the entity or relation on a two dimensional flow.

§Properties

  • f2dh
  • f2dw
  • f2dx
  • f2dy

§JSON Schema

https://schema.reactive-graph.io/schema/json/dynamic_graph/types/component/reactive_graph/flow/Flow2D.schema.json

Required Methods§

Source

fn f2dh(&self) -> u64

§Property f2dh

The height (y-axis) in a 2D flow

Data Type: Number

Socket Type: None

Mutability: Mutable

Source

fn set_f2dh(&mut self, f2dh: u64)

§Property f2dh

The height (y-axis) in a 2D flow

Data Type: Number

Socket Type: None

Mutability: Mutable

Source

fn f2dw(&self) -> u64

§Property f2dw

The width (x-axis) in a 2D flow

Data Type: Number

Socket Type: None

Mutability: Mutable

Source

fn set_f2dw(&mut self, f2dw: u64)

§Property f2dw

The width (x-axis) in a 2D flow

Data Type: Number

Socket Type: None

Mutability: Mutable

Source

fn f2dx(&self) -> u64

§Property f2dx

The X position in a 2D flow

Data Type: Number

Socket Type: None

Mutability: Mutable

Source

fn set_f2dx(&mut self, f2dx: u64)

§Property f2dx

The X position in a 2D flow

Data Type: Number

Socket Type: None

Mutability: Mutable

Source

fn f2dy(&self) -> u64

§Property f2dy

The Y position in a 2D flow

Data Type: Number

Socket Type: None

Mutability: Mutable

Source

fn set_f2dy(&mut self, f2dy: u64)

§Property f2dy

The Y position in a 2D flow

Data Type: Number

Socket Type: None

Mutability: Mutable

Implementors§