Skip to content

Commit

Permalink
fix anomolous error with glob imports
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronKutch committed Feb 20, 2024
1 parent 724af23 commit 5d92437
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions triple_arena_render/src/render_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ use std::cmp::max;

use triple_arena::Ptr;

use self::grid_process::Edge;
use crate::*;
use crate::{
grid_process::Edge, FONT_ADJUST_Y, FONT_SIZE, FONT_WX, FONT_WY, INPUT_FONT_ADJUST_Y,
INPUT_FONT_SIZE, INPUT_FONT_WX, INPUT_FONT_WY, INPUT_PAD, PAD,
};

/// Graphics for a single node
#[derive(Debug, Clone)]
Expand Down
8 changes: 5 additions & 3 deletions triple_arena_render/src/svg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ use std::{
path::PathBuf,
};

use internal::{grid_process, RenderGrid};
use triple_arena::Arena;
use triple_arena::{Arena, Ptr};

use crate::*;
use crate::{
grid_process::grid_process, render_grid::RenderGrid, DebugNodeTrait, RenderError, COLORS,
FONT_FAMILY, NODE_FILL, NODE_PAD_Y, PAD, RELATION_WIDTH, TEXT_COLOR,
};

/// create the SVG code
pub(crate) fn gen_svg<P: Ptr>(rg: &RenderGrid<P>) -> String {
Expand Down

0 comments on commit 5d92437

Please sign in to comment.