MCPcopy Create free account

hub / github.com/GraphiteEditor/Graphite / functions

Functions5,973 in github.com/GraphiteEditor/Graphite

↓ 2 callersFunctionnetwork_referencing_resources
A network with one node per resource, each referencing its resource via a `TaggedValue::Resource` input, so all listed resources are network-reference
document/graph-storage/src/tests/round_trip.rs:39
↓ 2 callersMethodnetwork_view_settings
The per-network view settings read from `session.json` (node-graph nav + previewing), keyed by [`NetworkId`](graph_storage::NetworkId). Opaque `ui::na
document/document-format/src/lib.rs:265
↓ 2 callersMethodnew_with_defaults
Creates a new attribute filled with `count` default `T` values.
node-graph/libraries/core-types/src/list.rs:313
↓ 2 callersMethodnext_back
(&mut self)
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:559
↓ 2 callersMethodnext_node_counter
(&self)
document/graph-storage/src/session.rs:514
↓ 2 callersMethodnode_bounding_box
(&mut self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:2749
↓ 2 callersFunctionnode_description
(metadata: &NodeMetadata)
tools/node-docs/src/utility.rs:54
↓ 2 callersMethodnode_from_click
TODO: Optimize getting click target intersections from click by using a spacial data structure like a quadtree instead of linear search Click target g
editor/src/messages/portfolio/document/utility_types/network_interface.rs:3021
↓ 2 callersMethodnode_graph_ptz_mut
(&mut self, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:3011
↓ 2 callersFunctionnode_id_display_label
Resolves the value/breadcrumb label for a `NodeId` against `network_interface` at the given `network_path`, falling back to "Node {id}" if the node is
editor/src/messages/portfolio/document/data_panel/data_panel_message_handler.rs:776
↓ 2 callersMethodnodes_sorted_top_to_bottom
(&mut self, node_ids: impl Iterator<Item = &'a NodeId>, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:5316
↓ 2 callersFunctionnotifyActiveGroupChange
(group: string | undefined)
frontend/src/managers/drag-toggle.ts:55
↓ 2 callersMethodnotify_view_info_changed
(&self)
desktop/src/cef/context/multithreaded.rs:33
↓ 2 callersFunctionnudge_resize_bounds
Resizes the axis-aligned document-space box `[min, max]` by an arrow-key nudge `delta` (screen space). `tilt` (document rotation) is snapped to a qua
editor/src/messages/tool/common_functionality/utility_functions.rs:604
↓ 2 callersMethodnumber_of_exports
(&self, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:336
↓ 2 callersFunctiononIssueResponse
(/** @type {Element | null} */ button, /** @type {boolean} */ issuePresent)
website/static/js/page/contributor-guide/bisect-tool.js:588
↓ 2 callersMethodopen
Open an existing folder. Errors if `root` is not a directory.
document/container/src/backends/folder.rs:15
↓ 2 callersFunctionopen_mmap
Open a memory-mapped read-only view of `path`, trying huge pages first. Callers must ensure `path` is non-empty, since mmapping a zero-length file is
document/container/src/backends/folder.rs:186
↓ 2 callersMethodordered_pinned_nodes
The given network's pinned nodes in display order: pinning appends, dragging rearranges, and any not yet recorded go last.
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1065
↓ 2 callersMethodoutline_overlay_bezier
(&mut self, bezier: PathSeg, transform: DAffine2)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:902
↓ 2 callersMethodoutline_vector
Used by the Pen and Path tools to outline the path of the shape.
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:857
↓ 2 callersMethodoutput_port_position
(&self, index: usize)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6444
↓ 2 callersMethodoutput_position
(&mut self, output_connector: &OutputConnector, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:3158
↓ 2 callersFunctionoverlay
Overlays measurement lines between selected and hovered bounds based on their spatial relationships.
editor/src/messages/tool/common_functionality/measure.rs:447
↓ 2 callersFunctionoverlay_bezier_handle_specific_point
( bezier: Bezier, segment_id: SegmentId, (start, end): (PointId, PointId), point_to_render: PointId, tran
editor/src/messages/portfolio/document/overlays/utility_functions.rs:96
↓ 2 callersFunctionoverlay_canvas_element
()
editor/src/messages/portfolio/document/overlays/utility_functions.rs:19
↓ 2 callersMethodoverlay_display_category
Find the [`TransformCageSizeCategory`] of this bounding box based on size thresholds.
editor/src/messages/tool/common_functionality/transformation_cage.rs:608
↓ 2 callersMethodoverlays
( &self, document: &DocumentMessageHandler, selected_star_layer: Option<LayerNodeIdentifier>, _input:
editor/src/messages/tool/common_functionality/shapes/star_shape.rs:55
↓ 2 callersMethodoverlays
(document: &DocumentMessageHandler, shape_tool_data: &mut ShapeToolData, mouse_position: DVec2, overlay_contex
editor/src/messages/tool/common_functionality/shapes/line_shape.rs:90
↓ 2 callersMethodoverlays
( &self, document: &DocumentMessageHandler, selected_polygon_layer: Option<LayerNodeIdentifier>, _inpu
editor/src/messages/tool/common_functionality/shapes/polygon_shape.rs:55
↓ 2 callersFunctionparse_headers
(headers: &str)
node-graph/nodes/gstd/src/platform_application_io.rs:33
↓ 2 callersFunctionparse_hint_helper_attrs
(attrs: &[Attribute])
proc-macros/src/hint.rs:6
↓ 2 callersFunctionparse_implementations
(attr: &Attribute, name: &Ident)
node-graph/node-macro/src/parsing.rs:640
↓ 2 callersFunctionparse_json_path
Parses a JSON access path like `users[0].name` or `.["my key"][].value` into segments. Returns `None` on syntax errors.
node-graph/nodes/text/src/json.rs:266
↓ 2 callersFunctionparse_unit
(pairs: Pairs<Rule>)
libraries/math-parser/src/parser.rs:70
↓ 2 callersFunctionpath_endpoint_overlays
(document: &DocumentMessageHandler, shape_editor: &mut ShapeState, overlay_context: &mut OverlayContext)
editor/src/messages/portfolio/document/overlays/utility_functions.rs:204
↓ 2 callersMethodpath_segment_from_index
Construct a [`kurbo::PathSeg`] by resolving the points from their ids.
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:921
↓ 2 callersFunctionpathseg_abs_diff_eq
Returns true if the corresponding points of the two [`PathSeg`]s are within the provided absolute value difference from each other.
node-graph/libraries/vector-types/src/vector/misc.rs:279
↓ 2 callersFunctionpathseg_points_vec
Get an vec of all the points in a path segment.
node-graph/libraries/vector-types/src/vector/misc.rs:270
↓ 2 callersFunctionpathseg_to_parametric_polynomial
Returns two [`Polynomial`]s representing the parametric equations for x and y coordinates of the bezier curve respectively. The domain of both the equ
node-graph/libraries/core-types/src/math/polynomial.rs:203
↓ 2 callersMethodpersistent_input_metadata
(&self, node_id: &NodeId, index: usize, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:978
↓ 2 callersMethodpin_active
(&self)
editor/src/messages/tool/common_functionality/pivot.rs:144
↓ 2 callersFunctionpin_pivot_widget
(active: bool, enabled: bool, source: PivotToolSource)
editor/src/messages/tool/common_functionality/pivot.rs:15
↓ 2 callersMethodpivot
(&self)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:134
↓ 2 callersMethodpivot_gizmo
(&self)
editor/src/messages/tool/tool_messages/path_tool.rs:1549
↓ 2 callersFunctionpivot_gizmo_type_widget
(state: PivotGizmoState, source: PivotToolSource)
editor/src/messages/tool/common_functionality/pivot.rs:45
↓ 2 callersFunctionpivot_reference_point_widget
(disabled: bool, reference_point: ReferencePoint, source: PivotToolSource)
editor/src/messages/tool/common_functionality/pivot.rs:33
↓ 2 callersMethodpoint_tangent
Computes the average tangent direction at a point based on its 1 or 2 connected segments. Returns `None` for points with 0 or 3+ connections (ambiguou
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:487
↓ 2 callersMethodpoll
(self: Pin<&mut Self>, context: &mut Context<'_>)
node-graph/graph-craft/src/application_io/resource/opfs.rs:358
↓ 2 callersMethodpoll_node_graph_evaluation
(&mut self, responses: &mut VecDeque<Message>)
editor/src/dispatcher.rs:375
↓ 2 callersMethodpolygon
(&mut self, polygon: &[DVec2], stroke_color: Option<&str>, color_fill: Option<&str>)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:202
↓ 2 callersFunctionposition_helper
Position the helper window to match the main window's location and size (plus the resize band size).
desktop/src/window/win/native_handle.rs:337
↓ 2 callersFunctionpremultiply_gamma
(buffer: Image<Color>)
node-graph/nodes/raster/src/filter.rs:52
↓ 2 callersMethodprepend_plus
(mut self)
editor/src/messages/tool/utility_types.rs:686
↓ 2 callersMethodpresent
(&mut self, image_texture: &ImageTexture, executor: &WgpuExecutor)
node-graph/libraries/canvas-utils/src/wasm.rs:88
↓ 2 callersMethodprevious_sibling
Access the previous sibling of this layer (up the Layers panel)
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:325
↓ 2 callersMethodpublish_up_to
Advance the published frontier to `rev` and persist it to `session.json`, so the silent/published undo boundary survives a reopen. Called by the (futu
document/document-format/src/persist.rs:203
↓ 2 callersMethodpush_front_child
Add a child towards the top of the Layers panel
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:410
↓ 2 callersMethodpush_item
Pushes an item's scalar attributes into this attribute store. Existing attributes that the item lacks receive a default value. New attribute keys crea
node-graph/libraries/core-types/src/list.rs:729
↓ 2 callersMethodpush_undo
Push a snapshot onto the undo stack, evicting the oldest entry past the history cap.
editor/src/messages/portfolio/document/document_history.rs:33
↓ 2 callersFunctionquery_assign_colors_randomize
(node_id: NodeId, context: &NodePropertiesContext)
editor/src/messages/portfolio/document/node_graph/node_properties.rs:1249
↓ 2 callersMethodquick_measurement
(&self)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:110
↓ 2 callersFunctionrasterizeSVGCanvas
(svg: string, width: number, height: number, backgroundColor?: string)
frontend/src/utility-functions/rasterization.ts:2
↓ 2 callersMethodread_attribute
(&mut self, attribute: &Attribute)
node-graph/node-macro/src/derive_choice_type.rs:44
↓ 2 callersFunctionread_bytes
(container: &AnyContainer, basename: &str, codec: Codec)
document/document-format/src/io.rs:51
↓ 2 callersFunctionread_fill_node_gradient
Decode a Fill node's gradient metadata inputs, resolving an unset transform to the default over `bounding_box`. Returns `None` when the fill input isn
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:638
↓ 2 callersMethodread_legacy_document
Read back the embedded legacy `.graphite` document, if present. The compare-on-open oracle and the recovery fallback both go through here. `None` when
document/document-format/src/lib.rs:341
↓ 2 callersMethodread_resource
(&self, hash: &ResourceHash)
document/document-format/src/resource.rs:18
↓ 2 callersMethodrecalculate_pivot
Recomputes the pivot position and transform.
editor/src/messages/tool/common_functionality/pivot.rs:228
↓ 2 callersMethodrecomputed_id
The content-addressed `Rev` this delta's identity fields hash to. Equals `id` for a delta built via `new`/`merge`; differs only if `id` was tampered w
document/graph-storage/src/crdt.rs:81
↓ 2 callersFunctionrecurse
Use Casteljau subdivision, noting that the length is more than the straight line distance from start to end but less than the straight line distance t
node-graph/libraries/vector-types/src/vector/algorithms/bezpath_algorithms.rs:254
↓ 2 callersMethodred
(&self)
node-graph/libraries/no-std-types/src/color/color_types.rs:56
↓ 2 callersMethodredo_stack
(&self)
document/graph-storage/src/session.rs:510
↓ 2 callersMethodrefine_nearest_point
Refines the nearest point search within a given parameter range using binary search. This method performs iterative refinement by: 1. Evaluating the
editor/src/messages/tool/common_functionality/snapping/layer_snapper.rs:406
↓ 2 callersFunctionrefreshMetrics
()
website/static/js/navbar.js:136
↓ 2 callersMethodrefresh_options
(&self, responses: &mut VecDeque<Message>)
editor/src/messages/tool/utility_types.rs:44
↓ 2 callersMethodrefresh_preview_after_history
Re-renders the preview after an undo/redo once the graph has re-evaluated, since the layer transform is briefly stale until then and would place the p
editor/src/messages/tool/tool_messages/pen_tool.rs:490
↓ 2 callersMethodreject_symlinked_components
Reject any existing component along `root/relative` that is a symlink. `validate_path`/`validate_prefix` block `..` and absolute paths, but a symlink
document/container/src/backends/folder.rs:43
↓ 2 callersMethodremove_non_blocking
(&self, path: &str)
document/container/src/lib.rs:339
↓ 2 callersMethodremove_panel_from_layout
Remove a dockable panel type from whichever panel group currently contains it. Does not prune empty groups.
editor/src/messages/portfolio/portfolio_message_handler.rs:1998
↓ 2 callersFunctionremove_pending_gradient_bake
TODO: Eventually remove this document upgrade code Remove a fill's entry from the document's persisted pending-bake list, either because its bake land
editor/src/node_graph_executor.rs:839
↓ 2 callersMethodremove_references_from_network
Removes all references to the node with the given id from the network, and reconnects the input to the node below.
editor/src/messages/portfolio/document/utility_types/network_interface.rs:4646
↓ 2 callersMethodremove_saved_points
(&mut self)
editor/src/messages/tool/tool_messages/path_tool.rs:674
↓ 2 callersMethodrender_quad
(&self, overlay_context: &mut OverlayContext)
editor/src/messages/tool/common_functionality/transformation_cage.rs:541
↓ 2 callersMethodrender_skew_gizmos
(&mut self, overlay_context: &mut OverlayContext, hover_edge: EdgeBool)
editor/src/messages/tool/common_functionality/transformation_cage.rs:485
↓ 2 callersMethodrender_vello_scene
(&self, scene: &Scene, size: UVec2, context: &RenderContext, background: Option<Color>)
node-graph/libraries/wgpu-executor/src/lib.rs:67
↓ 2 callersMethodreplace_application_io
(&mut self, application_io: PlatformApplicationIo)
editor/src/node_graph_executor/runtime.rs:575
↓ 2 callersFunctionreplace_children
(menu: T, new_items: Vec<MenuItemKind>)
desktop/src/window/mac/menu.rs:103
↓ 2 callersMethodreplace_impl_trait_in_input
(&mut self)
node-graph/node-macro/src/parsing.rs:939
↓ 2 callersFunctionreplace_lifetimes
(generics: &syn::Generics, replacement: &str)
libraries/dyn-any/derive/src/lib.rs:55
↓ 2 callersMethodreposition_control_point
Moves a control point to a `new_position` in document space. Returns `Some(())` if successful and `None` otherwise.
editor/src/messages/tool/common_functionality/shape_editor.rs:970
↓ 2 callersFunctionrequest_animation_frame
Helper function for calling JS's `requestAnimationFrame` with the given closure
frontend/wrapper/src/helpers.rs:19
↓ 2 callersMethodrequest_device
(&self, adapter: &Adapter)
node-graph/libraries/wgpu-executor/src/context.rs:94
↓ 2 callersMethodreset_drill_through_cycle
(&mut self)
editor/src/messages/tool/tool_messages/path_tool.rs:678
↓ 2 callersFunctionresize_bounds
( document: &DocumentMessageHandler, responses: &mut VecDeque<Message>, bounds: &mut BoundingBoxManager, d
editor/src/messages/tool/common_functionality/utility_functions.rs:247
↓ 2 callersFunctionresolve_all
Recursively resolves a path against a JSON value, fanning out at each `[]` and collecting leaf results.
node-graph/nodes/text/src/json.rs:433
↓ 2 callersMethodresolve_proto_node
(self)
node-graph/graph-craft/src/document.rs:140
↓ 2 callersMethodresources_dir
(&self)
document/document-format/src/layout.rs:42
↓ 2 callersFunctionrestore_g1_continuity
(handle: HandleId, other_handle: HandleId, control_point: DVec2, anchor_position: DVec2, vector: &Vector, laye
editor/src/messages/tool/common_functionality/utility_functions.rs:143
↓ 2 callersMethodrestore_panel_to_default_position
Place a panel at its default structural position in the layout tree. - Data: below the document in the left column (root child 0) - Properties: top of
editor/src/messages/portfolio/utility_types.rs:306
← previousnext →1,801–1,900 of 5,973, ranked by callers